No longer discard "0" valued arguments from find_factoid_with_optional_args

This commit is contained in:
Pragmatic Software 2017-08-30 17:51:42 -07:00
parent bbb52f99e9
commit 08b28cf6c2
1 changed files with 1 additions and 1 deletions

View File

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