mirror of
				https://github.com/jlu5/PyLink.git
				synced 2025-11-04 08:57:25 +01:00 
			
		
		
		
	p10: mode definition tweaks
- rename cmode +d to "had_delayjoin" (from "had_delayjoins") - add cmode +R for ircu -
This commit is contained in:
		
							parent
							
								
									1994d1171c
								
							
						
					
					
						commit
						45729d48cc
					
				@ -785,7 +785,7 @@ class P10Protocol(IRCS2SProtocol):
 | 
			
		||||
                      'redirect': 'L', 'oplevel_apass': 'A', 'oplevel_upass': 'U',
 | 
			
		||||
                      'adminonly': 'a', 'operonly': 'O', 'regmoderated': 'M', 'nonotice': 'N',
 | 
			
		||||
                      'permanent': 'z', 'hidequits': 'Q', 'noctcp': 'C', 'noamsg': 'T', 'blockcolor': 'c',
 | 
			
		||||
                      'stripcolor': 'S', 'had_delayjoins': 'd', 'regonly': 'r',
 | 
			
		||||
                      'stripcolor': 'S', 'had_delayjoin': 'd', 'regonly': 'r',
 | 
			
		||||
                      '*A': 'be', '*B': 'AUk', '*C': 'Ll', '*D': 'psmtinrDRaOMNzQCTcSd'}
 | 
			
		||||
            self.irc.umodes.update({'servprotect': 'k', 'sno_debug': 'g', 'cloak': 'x', 'privdeaf': 'D',
 | 
			
		||||
                                    'hidechans': 'n', 'deaf_commonchan': 'q', 'bot': 'B', 'deaf': 'd',
 | 
			
		||||
@ -809,7 +809,7 @@ class P10Protocol(IRCS2SProtocol):
 | 
			
		||||
        elif p10_ircd == 'ircu':
 | 
			
		||||
            # ircu proper has even fewer modes.
 | 
			
		||||
            cmodes = {'oplevel_apass': 'A', 'oplevel_upass': 'U', 'delayjoin': 'D', 'regonly': 'r',
 | 
			
		||||
                      'had_delayjoin': 'd', 'blockcolor': 'c', 'noctcp': 'C',
 | 
			
		||||
                      'had_delayjoin': 'd', 'blockcolor': 'c', 'noctcp': 'C', 'registered': 'R',
 | 
			
		||||
                      '*A': 'b', '*B': 'AUk', '*C': 'l', '*D': 'imnpstrDdRcC'}
 | 
			
		||||
            self.irc.umodes.update({'servprotect': 'k', 'sno_debug': 'g', 'cloak': 'x',
 | 
			
		||||
                                    'deaf': 'd', 'registered': 'r', 'locop': 'O',
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user