From 3b3080d1990418ac6fa888367b191ee6396cc547 Mon Sep 17 00:00:00 2001 From: James Lu Date: Fri, 8 Apr 2016 20:22:53 -0700 Subject: [PATCH] hybrid: drop unused svstag handler --- protocols/hybrid.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/protocols/hybrid.py b/protocols/hybrid.py index 513dd65..3ba122e 100644 --- a/protocols/hybrid.py +++ b/protocols/hybrid.py @@ -156,7 +156,6 @@ class HybridProtocol(TS6Protocol): self.irc.channels[target].topic = text self.irc.channels[target].topicset = True - # command handlers def handle_capab(self, numeric, command, args): @@ -209,12 +208,6 @@ class HybridProtocol(TS6Protocol): self.irc.channels[channel].topicset = True return {'channel': channel, 'setter': setter, 'ts': ts, 'text': topic} - def handle_svstag(self, numeric, command, args): - tag = args[2] - if tag in ['313']: - return - raise Exception('COULD NOT PARSE SVSTAG: {} {} {}'.format(numeric, command, args)) - def handle_endburst(self, numeric, command, args): log.debug('(%s) end of burst received', self.irc.name) return {}