mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
Removed an assertion that was asserting a condition that didn't need to be true.
This commit is contained in:
parent
9b6dce4961
commit
df88fc99d3
@ -426,7 +426,6 @@ def privmsg(recipient, msg, prefix=''):
|
||||
def action(recipient, msg, prefix=''):
|
||||
"""Returns a PRIVMSG ACTION to recipient with the message msg."""
|
||||
assert (isChannel(recipient) or isNick(recipient)), repr(recipient)
|
||||
assert msg, 'msg must not be empty.'
|
||||
return IrcMsg(prefix=prefix, command='PRIVMSG',
|
||||
args=(recipient,'\x01ACTION %s\x01'% msg))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user