Removed an assertion that was asserting a condition that didn't need to be true.

This commit is contained in:
Jeremy Fincher 2003-11-07 18:44:18 +00:00
parent 9b6dce4961
commit df88fc99d3

View File

@ -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))