mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Fixed capitalization bug in @seen.
This commit is contained in:
parent
b94a7a3b4e
commit
64b368381f
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user