From fd909395ff6e0ac65ce7f82b4f4dd840a7436c01 Mon Sep 17 00:00:00 2001 From: James Lu Date: Mon, 18 Apr 2016 20:59:06 -0700 Subject: [PATCH] nefarious: ignore empty BURSTs with no useful data --- protocols/nefarious.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/protocols/nefarious.py b/protocols/nefarious.py index 23039c1..ef3814d 100644 --- a/protocols/nefarious.py +++ b/protocols/nefarious.py @@ -894,6 +894,11 @@ class P10Protocol(Protocol): # 1 # 2 # 3+ [ []] [] [] + + 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])