From 1e13e8e2639e54dc45067163425930bf6745253d Mon Sep 17 00:00:00 2001 From: neersighted Date: Sat, 31 Mar 2012 09:22:06 -0700 Subject: [PATCH] Updated code --- plugins/tell.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/tell.py b/plugins/tell.py index 10ed0eb..2d7fffd 100755 --- a/plugins/tell.py +++ b/plugins/tell.py @@ -25,7 +25,7 @@ def get_tells(db, user_to): @hook.singlethread @hook.event('PRIVMSG') -def tellinput(paraml, input=None, db=None, bot=None): +def tellinput(paraml, input=None, notice=None, db=None, bot=None): if 'showtells' in input.msg.lower(): return @@ -45,7 +45,7 @@ def tellinput(paraml, input=None, db=None, bot=None): db.execute("delete from tell where user_to=lower(?) and message=?", (input.nick, message)) db.commit() - input.notice(reply) + notice(reply) @hook.command(autohelp=False)