mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +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,7 +226,8 @@ 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.
|
||||||
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)
|
return ircmsgs.privmsg(*args)
|
||||||
else:
|
else:
|
||||||
return None
|
return None
|
||||||
|
Loading…
Reference in New Issue
Block a user