From 0a2539c199110225d4b70c302a20878bb19ca03e Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Thu, 18 Sep 2003 07:19:47 +0000 Subject: [PATCH] Fixed bug where ChannelPluginTestCase would try to chop off the first word of an ACTION. --- test/test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test.py b/test/test.py index 0c83864c0..32c5869b7 100755 --- a/test/test.py +++ b/test/test.py @@ -226,7 +226,8 @@ class ChannelPluginTestCase(PluginTestCase): if response is not None: args = list(response.args) # Strip off nick: at beginning of response. - args[1] = args[1].split(None, 1)[1] + if not ircmsgs.isAction(response): + args[1] = args[1].split(None, 1)[1] return ircmsgs.privmsg(*args) else: return None