3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-29 23:39:24 +01:00

Replaced ".*" with "global" in set list keys

This commit is contained in:
Pragmatic Software 2010-06-29 07:39:56 +00:00
parent 322314d869
commit a4cdb2204f
2 changed files with 2 additions and 2 deletions

View File

@ -266,7 +266,7 @@ sub set {
} }
if(not defined $key) { if(not defined $key) {
my $result = "[$self->{name}] ($primary) $secondary keys: "; my $result = "[$self->{name}] (" . ($primary eq '.*' ? 'global' : $primary) . ") $secondary keys: ";
my $comma = ''; my $comma = '';
foreach my $key (sort keys %{ $self->hash->{$primary}->{$secondary} }) { foreach my $key (sort keys %{ $self->hash->{$primary}->{$secondary} }) {
$result .= $comma . "$key => " . $self->hash->{$primary}->{$secondary}->{$key}; $result .= $comma . "$key => " . $self->hash->{$primary}->{$secondary}->{$key};

View File

@ -13,7 +13,7 @@ use warnings;
# These are set automatically by the build/commit script # These are set automatically by the build/commit script
use constant { use constant {
BUILD_NAME => "PBot", BUILD_NAME => "PBot",
BUILD_REVISION => 216, BUILD_REVISION => 217,
BUILD_DATE => "2010-06-29", BUILD_DATE => "2010-06-29",
}; };