mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-30 14:14:37 +01:00
Changed splitting on None to pull off the nick to splitting on ' '.
This commit is contained in:
parent
f83b2fb135
commit
dd673bc706
@ -308,7 +308,7 @@ class ChannelPluginTestCase(PluginTestCase):
|
|||||||
# Strip off nick: at beginning of response.
|
# Strip off nick: at beginning of response.
|
||||||
if args[1].startswith(self.nick) or \
|
if args[1].startswith(self.nick) or \
|
||||||
args[1].startswith(ircutils.nickFromHostmask(self.prefix)):
|
args[1].startswith(ircutils.nickFromHostmask(self.prefix)):
|
||||||
args[1] = args[1].split(None, 1)[1]
|
args[1] = args[1].split(' ', 1)[1]
|
||||||
ret = ircmsgs.privmsg(*args)
|
ret = ircmsgs.privmsg(*args)
|
||||||
else:
|
else:
|
||||||
ret = response
|
ret = response
|
||||||
|
Loading…
Reference in New Issue
Block a user