From 41f1cddbcf7805e8cb797f17daec409363a94c01 Mon Sep 17 00:00:00 2001 From: Daniel DiPaolo Date: Tue, 14 Oct 2003 16:00:50 +0000 Subject: [PATCH] * Fixed INSERT query in addFactoids to mirror the changes made in the table structure a few revisions back (oops) --- plugins/MoobotFactoids.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/MoobotFactoids.py b/plugins/MoobotFactoids.py index e1edabdb2..46a92e91a 100644 --- a/plugins/MoobotFactoids.py +++ b/plugins/MoobotFactoids.py @@ -238,7 +238,7 @@ class MoobotFactoids(callbacks.PrivmsgCommandAndRegexp): # Otherwise, cursor.execute("""INSERT INTO factoids VALUES (%s, %s, %s, NULL, NULL, NULL, NULL, NULL, NULL, - %s, 0, 0)""", + %s, 0)""", key, id, int(time.time()), fact) self.db.commit() irc.reply(msg, conf.replySuccess)