mirror of
				https://github.com/jlu5/PyLink.git
				synced 2025-11-04 08:57:25 +01:00 
			
		
		
		
	unreal: handle umode +r on burst as services login, even when no explicit accountname is set
Ref #296. (cherry picked from commit 5800594d55a60787792073c120c16da02d1678f7)
This commit is contained in:
		
							parent
							
								
									4fbb7b1791
								
							
						
					
					
						commit
						a56e464eb6
					
				@ -387,6 +387,9 @@ class UnrealProtocol(TS6BaseProtocol):
 | 
			
		||||
            self.irc.users[uid].host = realhost
 | 
			
		||||
 | 
			
		||||
        # Set the accountname if present
 | 
			
		||||
        if ('+r', None) in parsedmodes and accountname == '0':
 | 
			
		||||
            accountname = nick
 | 
			
		||||
 | 
			
		||||
        if accountname != "0":
 | 
			
		||||
            self.irc.callHooks([uid, 'CLIENT_SERVICES_LOGIN', {'text': accountname}])
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user