Bugzor fix0red.

This commit is contained in:
Jeremy Fincher 2004-08-06 17:37:28 +00:00
parent efc095fcc6
commit a59ba2563d

View File

@ -275,8 +275,8 @@ class Dunno(callbacks.Privmsg):
irc.error('%r is not a valid dunno id.' % id) irc.error('%r is not a valid dunno id.' % id)
return return
try: try:
name = ircdb.users.getUser(id).name
(dunno, by, at) = self.db.get(channel, id) (dunno, by, at) = self.db.get(channel, id)
name = ircdb.users.getUser(by).name
at = time.localtime(at) at = time.localtime(at)
timeStr = time.strftime(conf.supybot.humanTimestampFormat(), at) timeStr = time.strftime(conf.supybot.humanTimestampFormat(), at)
irc.reply("Dunno #%s: %r (added by %s at %s)" % \ irc.reply("Dunno #%s: %r (added by %s at %s)" % \