From 5dfba06aae22e69f34c447229e0d984a458844ad Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Fri, 10 Aug 2012 13:10:14 +0000 Subject: [PATCH] Prevent irc.replies from replying in private since fc9daa9. --- src/callbacks.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/callbacks.py b/src/callbacks.py index f83dd85dd..3ca01cf8e 100644 --- a/src/callbacks.py +++ b/src/callbacks.py @@ -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):