Make seen not error if it doesn't recognize the user.

This commit is contained in:
Jeremy Fincher 2003-10-29 16:15:33 +00:00
parent 50e1690fca
commit 2b68eb908f

View File

@ -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)