mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-26 22:09:26 +01:00
No longer discard "0" valued arguments from find_factoid_with_optional_args
This commit is contained in:
parent
bbb52f99e9
commit
08b28cf6c2
@ -177,7 +177,7 @@ sub find_factoid_with_optional_channel {
|
||||
# not a channel or global, so must be a keyword
|
||||
my $keyword = $from_chan;
|
||||
$from_chan = $from;
|
||||
$remaining_args = $from_trigger . ($remaining_args ? " $remaining_args" : "");
|
||||
$remaining_args = $from_trigger . (length $remaining_args ? " $remaining_args" : "");
|
||||
$from_trigger = $keyword;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user