mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Fixed some thingy.
This commit is contained in:
parent
8a979b3ada
commit
ee5afd1074
@ -337,7 +337,11 @@ class ChannelPluginTestCase(PluginTestCase):
|
||||
# Strip off nick: at beginning of response.
|
||||
if args[1].startswith(self.nick) or \
|
||||
args[1].startswith(ircutils.nickFromHostmask(self.prefix)):
|
||||
try:
|
||||
args[1] = args[1].split(' ', 1)[1]
|
||||
except IndexError:
|
||||
# Odd. We'll skip this.
|
||||
pass
|
||||
ret = ircmsgs.privmsg(*args)
|
||||
else:
|
||||
ret = response
|
||||
|
Loading…
Reference in New Issue
Block a user