diff --git a/PBot/FactoidCommands.pm b/PBot/FactoidCommands.pm index 7c60c7ca..6933ff27 100644 --- a/PBot/FactoidCommands.pm +++ b/PBot/FactoidCommands.pm @@ -96,7 +96,7 @@ sub call_factoid { return "No such factoid '$keyword' exists for channel '$chan'"; } - return $self->{pbot}->{factoids}->interpreter($channel, $nick, $user, $host, 1, $trigger, $args); + return $self->{pbot}->{factoids}->interpreter($from, $nick, $user, $host, 1, $trigger, $args); } sub factset {