mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-09 19:52:37 +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():
|
def doReply():
|
||||||
if self.versions:
|
if self.versions:
|
||||||
L = []
|
L = []
|
||||||
for (reply, nicks) in self.versions.iteritems():
|
for (reply, nickslist) in self.versions.iteritems():
|
||||||
if nicks:
|
if nicks:
|
||||||
L.append(format('%L responded with %q', nicks, reply))
|
L.append(format('%L responded with %q', nickslist, reply))
|
||||||
else:
|
else:
|
||||||
L.append(reply)
|
L.append(reply)
|
||||||
irc.reply(format('%L', L))
|
irc.reply(format('%L', L))
|
||||||
|
Loading…
Reference in New Issue
Block a user