mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-08 19:22:33 +01:00
Ctcp: Fix name-crash which made --nicks always interpreted as true. Closes GH-664.
This commit is contained in:
parent
b14ed2c5d9
commit
76bc193455
@ -141,9 +141,9 @@ class Ctcp(callbacks.PluginRegexp):
|
||||
def doReply():
|
||||
if self.versions:
|
||||
L = []
|
||||
for (reply, nicks) in self.versions.iteritems():
|
||||
for (reply, nickslist) in self.versions.iteritems():
|
||||
if nicks:
|
||||
L.append(format('%L responded with %q', nicks, reply))
|
||||
L.append(format('%L responded with %q', nickslist, reply))
|
||||
else:
|
||||
L.append(reply)
|
||||
irc.reply(format('%L', L))
|
||||
|
Loading…
Reference in New Issue
Block a user