From 3e1755b564b79a392dc8235c8f3133a81a69f41c Mon Sep 17 00:00:00 2001 From: Ryan Hitchman Date: Tue, 16 Mar 2010 15:35:52 -0600 Subject: [PATCH] last fix for tell.py --- plugins/tell.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/tell.py b/plugins/tell.py index 5ca8bb8..ee4199f 100644 --- a/plugins/tell.py +++ b/plugins/tell.py @@ -52,7 +52,7 @@ def showtells(inp, nick='', chan='', pm=None, db=None): db_init(db) - tells = get_tells(db, nick, chan) + tells = get_tells(db, nick) if not tells: pm("You have no pending tells.") @@ -64,7 +64,7 @@ def showtells(inp, nick='', chan='', pm=None, db=None): pm("%s said %s ago in %s: %s" % (user_from, reltime, chan, message)) db.execute("delete from tell where user_to=lower(?)", - (nick, chan)) + (nick,)) db.commit()