mirror of
				https://github.com/jlu5/PyLink.git
				synced 2025-11-04 08:57:25 +01:00 
			
		
		
		
	p10: warn when receiving an invalid subcommand with use_extended_accounts=true
This commit is contained in:
		
							parent
							
								
									a8f0bd4fb7
								
							
						
					
					
						commit
						475349dc39
					
				@ -1279,6 +1279,10 @@ class P10Protocol(IRCS2SProtocol):
 | 
			
		||||
                accountname = args[2]
 | 
			
		||||
            elif args[1] == 'U':
 | 
			
		||||
                accountname = ''  # logout
 | 
			
		||||
            elif len(args[1]) > 1:
 | 
			
		||||
                log.warning('(%s) Got subcommand %r for %s in ACCOUNT message, is use_extended_accounts set correctly?',
 | 
			
		||||
                            self.name, args[1], target)
 | 
			
		||||
                return
 | 
			
		||||
            else:
 | 
			
		||||
                return
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user