3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-30 14:49:28 +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(',') userlist = args[-1].split(',')
# Then, we can make the modestring just encompass all the text until the end of the long. # Then, we can make the modestring just encompass all the text until the end of the string.
modestring = args[2:-1] or args[2] # If no modes are given, this will simply be empty.
modestring = args[2:-1]
parsedmodes = utils.parseModes(self.irc, channel, modestring) parsedmodes = utils.parseModes(self.irc, channel, modestring)
# Add the ban list to the list of modes to process. # Add the ban list to the list of modes to process.