mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +01:00
Prevent irc.replies from replying in private since fc9daa9
.
This commit is contained in:
parent
12b8e44dc7
commit
5dfba06aae
@ -453,7 +453,7 @@ class RichReplyMethods(object):
|
||||
else:
|
||||
oneToOne = conf.supybot.reply.oneToOne()
|
||||
if oneToOne:
|
||||
return self.reply(prefixer(joiner(L)), **kwargs)
|
||||
return self.reply(prefixer(joiner(L)), to=to, **kwargs)
|
||||
else:
|
||||
msg = None
|
||||
first = True
|
||||
@ -461,11 +461,11 @@ class RichReplyMethods(object):
|
||||
if onlyPrefixFirst:
|
||||
if first:
|
||||
first = False
|
||||
msg = self.reply(prefixer(s), **kwargs)
|
||||
msg = self.reply(prefixer(s), to=to, **kwargs)
|
||||
else:
|
||||
msg = self.reply(s, **kwargs)
|
||||
msg = self.reply(s, to=to, **kwargs)
|
||||
else:
|
||||
msg = self.reply(prefixer(s), **kwargs)
|
||||
msg = self.reply(prefixer(s), to=to, **kwargs)
|
||||
return msg
|
||||
|
||||
def noReply(self):
|
||||
|
Loading…
Reference in New Issue
Block a user