3
0
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:
Pragmatic Software 2020-07-18 12:52:47 -07:00
parent 0e03541460
commit 93b444e3f5

View File

@ -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';
} }