From b6fbfef5e6390898c255d54b4224adb2dcdfef11 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Wed, 23 Jun 2004 14:10:10 +0000 Subject: [PATCH] Hate. --- src/callbacks.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/callbacks.py b/src/callbacks.py index 242820015..cecd44193 100644 --- a/src/callbacks.py +++ b/src/callbacks.py @@ -126,8 +126,7 @@ def reply(msg, s, prefixName=True, private=False, notice=False, to=None, action=False): # This is so we don't prefix a channel name. - if prefixName and not \ - sum([ircutils.isChannel(x) for x in (target, to) if x]): + if prefixName and not ircutils.isChannel(to): s = '%s: %s' % (to, s) # Ok, let's make the target: target = ircutils.replyTo(msg)