mirror of
				https://github.com/jlu5/PyLink.git
				synced 2025-11-04 00:47:21 +01:00 
			
		
		
		
	hybrid: drop unused svstag handler
This commit is contained in:
		
							parent
							
								
									aeb65478cb
								
							
						
					
					
						commit
						3b3080d199
					
				@ -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 {}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user