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
1 changed files with 2 additions and 1 deletions

View File

@ -113,7 +113,8 @@ class Todo(callbacks.Privmsg):
try:
userid = ircdb.users.getUserId(arg)
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
# Everything needs a cursor, might as well plop it outside
if not userid and not taskid: