From e6efedbdf4a348a4f7ae8a7efab90421f28a9618 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Fri, 1 Oct 2004 01:32:17 +0000 Subject: [PATCH] Fixed a bugz0r in replies. --- src/callbacks.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/callbacks.py b/src/callbacks.py index 1014eaf78..0ca6123ae 100644 --- a/src/callbacks.py +++ b/src/callbacks.py @@ -435,16 +435,18 @@ class RichReplyMethods(object): if conf.supybot.reply.oneToOne(): return self.reply(prefixer(joiner(L)), **kwargs) else: + msg = None first = True for s in L: if onlyPrefixFirst: if first: first = False - return self.reply(prefixer(s), **kwargs) + msg = self.reply(prefixer(s), **kwargs) else: - return self.reply(s, **kwargs) + msg = self.reply(s, **kwargs) else: - return self.reply(prefixer(s), **kwargs) + msg = self.reply(prefixer(s), **kwargs) + return msg def noReply(self): self.msg.tag('repliedTo')