3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 09:19:23 +01:00

unreal: parse mode parameters in SJOIN as well!

Thanks to kevin for pointing this out.
This commit is contained in:
James Lu 2017-01-01 11:32:44 -08:00
parent 1a1dff7609
commit 71bd5583fa

View File

@ -578,7 +578,7 @@ class UnrealProtocol(TS6BaseProtocol):
parsedmodes = []
try:
if args[2].startswith('+'):
parsedmodes = self.irc.parseModes(channel, args[2])
parsedmodes = self.irc.parseModes(channel, args[2:-1] or args[2])
changedmodes = set(parsedmodes)
except IndexError:
pass