Fixed a dumb dumb bug where I forgot to include the "msg" arg for irc.error

This commit is contained in:
Daniel DiPaolo 2003-10-29 17:26:05 +00:00
parent 2a0687e46c
commit 3b0276e688

View File

@ -113,7 +113,8 @@ class Todo(callbacks.Privmsg):
try: try:
userid = ircdb.users.getUserId(arg) userid = ircdb.users.getUserId(arg)
except KeyError: except KeyError:
irc.error('%r is not a valid task id or username' % arg) irc.error(msg,
'%r is not a valid task id or username' % arg)
return return
# Everything needs a cursor, might as well plop it outside # Everything needs a cursor, might as well plop it outside
if not userid and not taskid: if not userid and not taskid: