mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Fixed bug where ChannelPluginTestCase would try to chop off the first word of an ACTION.
This commit is contained in:
parent
40de833c24
commit
0a2539c199
@ -226,6 +226,7 @@ class ChannelPluginTestCase(PluginTestCase):
|
|||||||
if response is not None:
|
if response is not None:
|
||||||
args = list(response.args)
|
args = list(response.args)
|
||||||
# Strip off nick: at beginning of response.
|
# Strip off nick: at beginning of response.
|
||||||
|
if not ircmsgs.isAction(response):
|
||||||
args[1] = args[1].split(None, 1)[1]
|
args[1] = args[1].split(None, 1)[1]
|
||||||
return ircmsgs.privmsg(*args)
|
return ircmsgs.privmsg(*args)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user