3
0
mirror of https://github.com/jlu5/PyLink.git synced 2025-01-11 20:52:42 +01:00

nefarious: ignore empty BURSTs with no useful data

This commit is contained in:
James Lu 2016-04-18 20:59:06 -07:00
parent bc578240bb
commit fd909395ff

View File

@ -894,6 +894,11 @@ class P10Protocol(Protocol):
# 1 <channel>
# 2 <timestamp>
# 3+ [<modes> [<mode extra parameters>]] [<users>] [<bans>]
if len(args) < 3:
# No useful data was sent, ignore.
return
channel = utils.toLower(self.irc, args[0])
userlist = args[-1].split()
their_ts = int(args[1])