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