This commit is contained in:
Jeremy Fincher 2004-06-23 14:10:10 +00:00
parent 287f016e58
commit b6fbfef5e6
1 changed files with 1 additions and 2 deletions

View File

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