mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Make seen not error if it doesn't recognize the user.
This commit is contained in:
parent
50e1690fca
commit
2b68eb908f
@ -338,7 +338,7 @@ class ChannelDB(plugins.ChannelDBHandler, callbacks.PrivmsgCommandAndRegexp):
|
|||||||
#debug.printf(sql)
|
#debug.printf(sql)
|
||||||
cursor.execute(sql, name)
|
cursor.execute(sql, name)
|
||||||
if cursor.rowcount == 0:
|
if cursor.rowcount == 0:
|
||||||
irc.error(msg, 'I have not seen %s.' % name)
|
irc.reply(msg, 'I have not seen %s.' % name)
|
||||||
else:
|
else:
|
||||||
(seen, m) = cursor.fetchone()
|
(seen, m) = cursor.fetchone()
|
||||||
seen = int(seen)
|
seen = int(seen)
|
||||||
|
Loading…
Reference in New Issue
Block a user