mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +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…
Reference in New Issue
Block a user