mirror of
				https://github.com/Mikaela/Limnoria.git
				synced 2025-11-04 01:27:21 +01:00 
			
		
		
		
	Revert "Add ° as a prefix character."
This reverts commit 0af7d791cc9cd31142b6fa3fdfcb86e5bde1c13e. ° is differently encoded in unicode and latin1.
This commit is contained in:
		
							parent
							
								
									0af7d791cc
								
							
						
					
					
						commit
						21409af405
					
				@ -454,9 +454,9 @@ registerChannelValue(supybot.reply, 'showSimpleSyntax',
 | 
			
		||||
    help) rather than the full help.""")))
 | 
			
		||||
 | 
			
		||||
class ValidPrefixChars(registry.String):
 | 
			
		||||
    """Value must contain only ~!@#$%^&*()_-+=[{}]\\|'\";:,<.>/?°"""
 | 
			
		||||
    """Value must contain only ~!@#$%^&*()_-+=[{}]\\|'\";:,<.>/?"""
 | 
			
		||||
    def setValue(self, v):
 | 
			
		||||
        if v.translate(utils.str.chars, '`~!@#$%^&*()_-+=[{}]\\|\'";:,<.>/?°'):
 | 
			
		||||
        if v.translate(utils.str.chars, '`~!@#$%^&*()_-+=[{}]\\|\'";:,<.>/?'):
 | 
			
		||||
            self.error()
 | 
			
		||||
        registry.String.setValue(self, v)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user