Prevent irc.replies from replying in private since fc9daa9.

This commit is contained in:
Valentin Lorentz 2012-08-10 13:10:14 +00:00
parent 12b8e44dc7
commit 5dfba06aae

View File

@ -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):