3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-04 18:38:47 +02:00

Replaced ".*" with "the global channel" for factalias

This commit is contained in:
Pragmatic Software 2010-07-04 07:36:51 +00:00
parent f53ebf7f88
commit 5b0aef5e31
2 changed files with 2 additions and 2 deletions

View File

@ -225,7 +225,7 @@ sub factalias {
$self->{pbot}->logger->log("$nick!$user\@$host [$chan] aliased $alias => $command\n");
$self->{pbot}->factoids->save_factoids();
return "/msg $nick '$alias' aliases '$command' for channel $chan";
return "/msg $nick '$alias' aliases '$command' for " . ($chan eq '.*' ? 'the global channel' : $chan);
}
sub add_regex {

View File

@ -13,7 +13,7 @@ use warnings;
# These are set automatically by the build/commit script
use constant {
BUILD_NAME => "PBot",
BUILD_REVISION => 229,
BUILD_REVISION => 230,
BUILD_DATE => "2010-07-04",
};