Changed splitting on None to pull off the nick to splitting on ' '.

This commit is contained in:
Jeremy Fincher 2003-10-24 23:13:51 +00:00
parent f83b2fb135
commit dd673bc706
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ class ChannelPluginTestCase(PluginTestCase):
# Strip off nick: at beginning of response.
if args[1].startswith(self.nick) or \
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)
else:
ret = response