mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 03:33:11 +01:00
Tried to fix jamessan's dealio.
This commit is contained in:
parent
b77a16f9e4
commit
dcd5606b6c
@ -126,11 +126,10 @@ def reply(msg, s, prefixName=True, private=False,
|
||||
notice=False, to=None, action=False):
|
||||
# Ok, let's make the target:
|
||||
target = ircutils.replyTo(msg)
|
||||
if private:
|
||||
if to is not None:
|
||||
target = to
|
||||
else:
|
||||
target = msg.nick
|
||||
if to is not None:
|
||||
target = to
|
||||
elif private:
|
||||
target = msg.nick
|
||||
if to is None:
|
||||
to = msg.nick
|
||||
# Ok, now let's make the payload:
|
||||
|
Loading…
Reference in New Issue
Block a user