mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-25 19:44:13 +01:00
Bugzor fix0red.
This commit is contained in:
parent
efc095fcc6
commit
a59ba2563d
@ -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)" % \
|
||||||
|
Loading…
Reference in New Issue
Block a user