mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-03 17:39:29 +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++;
|
$matches++;
|
||||||
|
|
||||||
# extract channel expansion modifier
|
# extract channel expansion modifier
|
||||||
if ($rest =~ s/^:*(#[^:]+|global)//i) {
|
if ($rest =~ s/^:(#[^:]+|global)//i) {
|
||||||
$from = $1;
|
$from = $1;
|
||||||
$from = '.*' if lc $from eq 'global';
|
$from = '.*' if lc $from eq 'global';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user