Fixed capitalization bug in @seen.

This commit is contained in:
Jeremy Fincher 2004-01-25 17:24:35 +00:00
parent b94a7a3b4e
commit 64b368381f

View File

@ -410,7 +410,7 @@ class ChannelDB(plugins.ChannelDBHandler,
sql = "SELECT last_seen,last_msg FROM %s WHERE %s" % (table,criterion) sql = "SELECT last_seen,last_msg FROM %s WHERE %s" % (table,criterion)
cursor.execute(sql, name) cursor.execute(sql, name)
if cursor.rowcount == 0: if cursor.rowcount == 0:
irc.reply('I have not seen %s.' % name) irc.reply('I have not seen %s.' % originalName)
else: else:
(seen, m) = cursor.fetchone() (seen, m) = cursor.fetchone()
seen = int(seen) seen = int(seen)