mirror of
				https://github.com/jlu5/PyLink.git
				synced 2025-11-04 08:57:25 +01:00 
			
		
		
		
	protocols: fix incomplete renames from c5c77eeb9784101d690eb4252988787273ad8ea4
This commit is contained in:
		
							parent
							
								
									da24b85ccd
								
							
						
					
					
						commit
						8589feaedf
					
				@ -613,7 +613,7 @@ class InspIRCdProtocol(TS6BaseProtocol):
 | 
			
		||||
        self.irc.applyModes(channel, changedmodes)
 | 
			
		||||
        ts = int(args[1])
 | 
			
		||||
        return {'target': channel, 'modes': changedmodes, 'ts': ts,
 | 
			
		||||
                'chandata': oldobj}
 | 
			
		||||
                'channeldata': oldobj}
 | 
			
		||||
 | 
			
		||||
    def handle_mode(self, numeric, command, args):
 | 
			
		||||
        """Handles incoming user mode changes."""
 | 
			
		||||
 | 
			
		||||
@ -1249,7 +1249,7 @@ class P10Protocol(IRCS2SProtocol):
 | 
			
		||||
                    changedmodes.append(('-%s' % modechar, None))
 | 
			
		||||
 | 
			
		||||
        self.irc.applyModes(channel, changedmodes)
 | 
			
		||||
        return {'target': channel, 'modes': changedmodes, 'chandata': oldobj}
 | 
			
		||||
        return {'target': channel, 'modes': changedmodes, 'channeldata': oldobj}
 | 
			
		||||
 | 
			
		||||
    def handle_account(self, numeric, command, args):
 | 
			
		||||
        """Handles services account changes."""
 | 
			
		||||
 | 
			
		||||
@ -578,7 +578,7 @@ class TS6Protocol(TS6BaseProtocol):
 | 
			
		||||
        self.irc.applyModes(channel, changedmodes)
 | 
			
		||||
        ts = int(args[0])
 | 
			
		||||
        return {'target': channel, 'modes': changedmodes, 'ts': ts,
 | 
			
		||||
                'chandata': oldobj}
 | 
			
		||||
                'channeldata': oldobj}
 | 
			
		||||
 | 
			
		||||
    def handle_mode(self, numeric, command, args):
 | 
			
		||||
        """Handles incoming user mode changes."""
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user