mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-29 23:39:24 +01:00
Replaced ".*" with "the global channel" for factalias
This commit is contained in:
parent
f53ebf7f88
commit
5b0aef5e31
@ -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 {
|
||||
|
@ -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",
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user