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

nefarious: fix syntax in BURST mode handling

This commit is contained in:
James Lu 2016-04-15 11:41:49 -07:00
parent 0d217845ab
commit 3c8c6f2027

View File

@ -474,8 +474,9 @@ class P10Protocol(Protocol):
userlist = args[-1].split(',')
# Then, we can make the modestring just encompass all the text until the end of the long.
modestring = args[2:-1] or args[2]
# Then, we can make the modestring just encompass all the text until the end of the string.
# If no modes are given, this will simply be empty.
modestring = args[2:-1]
parsedmodes = utils.parseModes(self.irc, channel, modestring)
# Add the ban list to the list of modes to process.