From fe07ea11465785db69e13f034ea8f2e219b5c64c Mon Sep 17 00:00:00 2001 From: James Vega Date: Sun, 11 Apr 2010 11:04:45 -0400 Subject: [PATCH] Fix the previous Factoids fix. channel needs to be part of the args list. Signed-off-by: James Vega --- plugins/Factoids/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Factoids/plugin.py b/plugins/Factoids/plugin.py index 5a763bf24..c375d16c8 100644 --- a/plugins/Factoids/plugin.py +++ b/plugins/Factoids/plugin.py @@ -421,7 +421,7 @@ class Factoids(callbacks.Plugin, plugins.ChannelDBHandler): irc.reply('No keys matched that query.') elif cursor.rowcount == 1 and \ self.registryValue('showFactoidIfOnlyOneMatch', channel): - self.whatis(irc, msg, channel, [cursor.fetchone()[0]]) + self.whatis(irc, msg, [channel, cursor.fetchone()[0]]) elif cursor.rowcount > 100: irc.reply('More than 100 keys matched that query; ' 'please narrow your query.')