mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Fixed a dumb dumb bug where I forgot to include the "msg" arg for irc.error
This commit is contained in:
parent
2a0687e46c
commit
3b0276e688
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user