Tried to fix jamessan's dealio.

This commit is contained in:
Jeremy Fincher 2004-06-06 23:50:19 +00:00
parent b77a16f9e4
commit dcd5606b6c

View File

@ -126,11 +126,10 @@ def reply(msg, s, prefixName=True, private=False,
notice=False, to=None, action=False): notice=False, to=None, action=False):
# Ok, let's make the target: # Ok, let's make the target:
target = ircutils.replyTo(msg) target = ircutils.replyTo(msg)
if private: if to is not None:
if to is not None: target = to
target = to elif private:
else: target = msg.nick
target = msg.nick
if to is None: if to is None:
to = msg.nick to = msg.nick
# Ok, now let's make the payload: # Ok, now let's make the payload: