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:
parent
322314d869
commit
a4cdb2204f
@ -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};
|
||||||
|
@ -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",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user