* Fixed INSERT query in addFactoids to mirror the changes made in the table

structure a few revisions back (oops)
This commit is contained in:
Daniel DiPaolo 2003-10-14 16:00:50 +00:00
parent 27796b01a3
commit 41f1cddbcf

View File

@ -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)