From a4cdb2204f99fc9c059441c66318a4d7ed558138 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Tue, 29 Jun 2010 07:39:56 +0000 Subject: [PATCH] Replaced ".*" with "global" in set list keys --- PBot/DualIndexHashObject.pm | 2 +- PBot/VERSION.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PBot/DualIndexHashObject.pm b/PBot/DualIndexHashObject.pm index 08e4a50c..dd1f4434 100644 --- a/PBot/DualIndexHashObject.pm +++ b/PBot/DualIndexHashObject.pm @@ -266,7 +266,7 @@ sub set { } if(not defined $key) { - my $result = "[$self->{name}] ($primary) $secondary keys: "; + my $result = "[$self->{name}] (" . ($primary eq '.*' ? 'global' : $primary) . ") $secondary keys: "; my $comma = ''; foreach my $key (sort keys %{ $self->hash->{$primary}->{$secondary} }) { $result .= $comma . "$key => " . $self->hash->{$primary}->{$secondary}->{$key}; diff --git a/PBot/VERSION.pm b/PBot/VERSION.pm index 029e5ee9..37c1fc1d 100644 --- a/PBot/VERSION.pm +++ b/PBot/VERSION.pm @@ -13,7 +13,7 @@ use warnings; # These are set automatically by the build/commit script use constant { BUILD_NAME => "PBot", - BUILD_REVISION => 216, + BUILD_REVISION => 217, BUILD_DATE => "2010-06-29", };