mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-23 19:22:40 +01:00
Factoids: whoops, missed a character
This commit is contained in:
parent
0e03541460
commit
93b444e3f5
@ -793,7 +793,7 @@ sub expand_factoid_vars {
|
||||
$matches++;
|
||||
|
||||
# extract channel expansion modifier
|
||||
if ($rest =~ s/^:*(#[^:]+|global)//i) {
|
||||
if ($rest =~ s/^:(#[^:]+|global)//i) {
|
||||
$from = $1;
|
||||
$from = '.*' if lc $from eq 'global';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user