mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +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):
|
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:
|
||||||
|
Loading…
Reference in New Issue
Block a user