mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +01:00
Revert the previous 'fix' since to can never be None at that point. Also,
remove those evil lines full of white-space!
This commit is contained in:
parent
e5e1f2e84e
commit
7fbb6daa15
@ -140,7 +140,7 @@ def reply(msg, s, prefixName=True, private=False,
|
|||||||
if not s:
|
if not s:
|
||||||
s = 'Error: I tried to send you an empty message.'
|
s = 'Error: I tried to send you an empty message.'
|
||||||
# Let's may sure we don't do, "#channel: foo.".
|
# Let's may sure we don't do, "#channel: foo.".
|
||||||
if to is None and prefixName and not ircutils.isChannel(to):
|
if prefixName and not ircutils.isChannel(to):
|
||||||
s = '%s: %s' % (to, s)
|
s = '%s: %s' % (to, s)
|
||||||
# And now, let's decide whether it's a PRIVMSG or a NOTICE.
|
# And now, let's decide whether it's a PRIVMSG or a NOTICE.
|
||||||
msgmaker = ircmsgs.privmsg
|
msgmaker = ircmsgs.privmsg
|
||||||
|
Loading…
Reference in New Issue
Block a user