mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-26 20:14:20 +01:00
Fixed a bugz0r in replies.
This commit is contained in:
parent
1f882ac521
commit
e6efedbdf4
@ -435,16 +435,18 @@ class RichReplyMethods(object):
|
|||||||
if conf.supybot.reply.oneToOne():
|
if conf.supybot.reply.oneToOne():
|
||||||
return self.reply(prefixer(joiner(L)), **kwargs)
|
return self.reply(prefixer(joiner(L)), **kwargs)
|
||||||
else:
|
else:
|
||||||
|
msg = None
|
||||||
first = True
|
first = True
|
||||||
for s in L:
|
for s in L:
|
||||||
if onlyPrefixFirst:
|
if onlyPrefixFirst:
|
||||||
if first:
|
if first:
|
||||||
first = False
|
first = False
|
||||||
return self.reply(prefixer(s), **kwargs)
|
msg = self.reply(prefixer(s), **kwargs)
|
||||||
else:
|
else:
|
||||||
return self.reply(s, **kwargs)
|
msg = self.reply(s, **kwargs)
|
||||||
else:
|
else:
|
||||||
return self.reply(prefixer(s), **kwargs)
|
msg = self.reply(prefixer(s), **kwargs)
|
||||||
|
return msg
|
||||||
|
|
||||||
def noReply(self):
|
def noReply(self):
|
||||||
self.msg.tag('repliedTo')
|
self.msg.tag('repliedTo')
|
||||||
|
Loading…
Reference in New Issue
Block a user