mirror of
				https://github.com/jlu5/PyLink.git
				synced 2025-11-04 08:57:25 +01:00 
			
		
		
		
	nefarious: remove untested parsing of umode +h for now
This commit is contained in:
		
							parent
							
								
									b78b911323
								
							
						
					
					
						commit
						0061414ee5
					
				@ -41,7 +41,7 @@ Support for these IRCds exist, but are not tested as frequently and thoroughly.
 | 
			
		||||
* Nefarious IRCu (2.0.0+) - module `nefarious` (*experimental*)
 | 
			
		||||
    - Note: FAKE hosts (`+f`), account cloaks (user and oper), and hashed IP cloaks are supported. Make sure you configure PyLink to match your IRCd settings.
 | 
			
		||||
    - Host changing for internal PyLink clients does not work. It should work for other users though.
 | 
			
		||||
    - Usermode `+h ident@host` is not fully supported.
 | 
			
		||||
    - Usermode `+h ident@host` is not supported at this time.
 | 
			
		||||
 | 
			
		||||
## Setup
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -807,11 +807,7 @@ class P10Protocol(Protocol):
 | 
			
		||||
        if 'x' not in modes:  # +x isn't set, so cloaking is disabled.
 | 
			
		||||
            newhost = uobj.realhost
 | 
			
		||||
        else:
 | 
			
		||||
            if 'h' in modes:
 | 
			
		||||
                # +h represents the hidden (/sethost) host of the user. It overrides
 | 
			
		||||
                # everything else.
 | 
			
		||||
                newhost = modes['h']
 | 
			
		||||
            elif 'f' in modes:
 | 
			
		||||
            if 'f' in modes:
 | 
			
		||||
                # +f represents another way of setting vHosts, via a command called FAKE.
 | 
			
		||||
                # Atheme uses this for vHosts, afaik.
 | 
			
		||||
                newhost = modes['f']
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user