3
0
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:
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++;
# extract channel expansion modifier
if ($rest =~ s/^:*(#[^:]+|global)//i) {
if ($rest =~ s/^:(#[^:]+|global)//i) {
$from = $1;
$from = '.*' if lc $from eq 'global';
}