mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 03:33:11 +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:
|
else:
|
||||||
oneToOne = conf.supybot.reply.oneToOne()
|
oneToOne = conf.supybot.reply.oneToOne()
|
||||||
if oneToOne:
|
if oneToOne:
|
||||||
return self.reply(prefixer(joiner(L)), **kwargs)
|
return self.reply(prefixer(joiner(L)), to=to, **kwargs)
|
||||||
else:
|
else:
|
||||||
msg = None
|
msg = None
|
||||||
first = True
|
first = True
|
||||||
@ -461,11 +461,11 @@ class RichReplyMethods(object):
|
|||||||
if onlyPrefixFirst:
|
if onlyPrefixFirst:
|
||||||
if first:
|
if first:
|
||||||
first = False
|
first = False
|
||||||
msg = self.reply(prefixer(s), **kwargs)
|
msg = self.reply(prefixer(s), to=to, **kwargs)
|
||||||
else:
|
else:
|
||||||
msg = self.reply(s, **kwargs)
|
msg = self.reply(s, to=to, **kwargs)
|
||||||
else:
|
else:
|
||||||
msg = self.reply(prefixer(s), **kwargs)
|
msg = self.reply(prefixer(s), to=to, **kwargs)
|
||||||
return msg
|
return msg
|
||||||
|
|
||||||
def noReply(self):
|
def noReply(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user