From df88fc99d3cabf88bf7b1483eee772ff19c62736 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Fri, 7 Nov 2003 18:44:18 +0000 Subject: [PATCH] Removed an assertion that was asserting a condition that didn't need to be true. --- src/ircmsgs.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ircmsgs.py b/src/ircmsgs.py index 999bd6589..ee5f5286a 100644 --- a/src/ircmsgs.py +++ b/src/ircmsgs.py @@ -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))