This commit is contained in:
Ryan Hitchman 2009-07-08 11:44:50 -06:00
parent e6360187b1
commit 9d5a995260
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ def seeninput(bot, input):
conn = dbconnect(dbpath) conn = dbconnect(dbpath)
cursor = conn.cursor() cursor = conn.cursor()
cursor.execute("insert or replace into seen(name, date, quote, chan)" cursor.execute("insert or replace into seen(name, date, quote, chan)"
"values(?,?,?,?)", command, (input.nick, datetime.datetime.now(), "values(?,?,?,?)", (input.nick, datetime.datetime.now(),
input.msg, input.chan)) input.msg, input.chan))
conn.commit() conn.commit()
conn.close() conn.close()