diff --git a/PBot/FactoidCommands.pm b/PBot/FactoidCommands.pm index 44fed1d7..64b57772 100644 --- a/PBot/FactoidCommands.pm +++ b/PBot/FactoidCommands.pm @@ -928,11 +928,7 @@ sub factadd { return "Usage: factadd [channel] "; } - if ($from_chan !~ /^#/) { - if (lc $from_chan ne 'global' and $from_chan ne '.*') { - return "Usage: factadd [channel] "; - } - } + $from_chan = '.*' if $from_chan !~ /^#/; if (length $keyword > 30) { return "/say $nick: I don't think the factoid name needs to be that long.";