mirror of
				https://github.com/Mikaela/Limnoria.git
				synced 2025-10-30 23:27:24 +01:00 
			
		
		
		
	User: Add custom error message for @gpg add arguments.
This commit is contained in:
		
							parent
							
								
									cee144d841
								
							
						
					
					
						commit
						e120ab7eab
					
				| @ -438,8 +438,11 @@ class User(callbacks.Plugin): | ||||
|                 irc.reply(reply) | ||||
|             else: | ||||
|                 irc.error(reply) | ||||
|         add = wrap(add, ['user', 'somethingWithoutSpaces', | ||||
|                 'somethingWithoutSpaces']) | ||||
|         add = wrap(add, ['user', | ||||
|                          ('somethingWithoutSpaces', | ||||
|                              _('You must give a valid key id')), | ||||
|                          ('somethingWithoutSpaces', | ||||
|                              _('You must give a valid key server'))]) | ||||
| 
 | ||||
|         @internationalizeDocstring | ||||
|         def remove(self, irc, msg, args, user, fingerprint): | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Valentin Lorentz
						Valentin Lorentz