mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
Actual commit for the fix for reply.
This commit is contained in:
parent
e98daace4c
commit
79db100b31
@ -140,7 +140,7 @@ def reply(msg, s, prefixName=True, private=False,
|
||||
if not s:
|
||||
s = 'Error: I tried to send you an empty message.'
|
||||
# Let's may sure we don't do, "#channel: foo.".
|
||||
if prefixName and not ircutils.isChannel(to):
|
||||
if to is None and prefixName and not ircutils.isChannel(to):
|
||||
s = '%s: %s' % (to, s)
|
||||
# And now, let's decide whether it's a PRIVMSG or a NOTICE.
|
||||
msgmaker = ircmsgs.privmsg
|
||||
|
Loading…
Reference in New Issue
Block a user