mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 12:42:34 +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)
|
irc.reply(reply)
|
||||||
else:
|
else:
|
||||||
irc.error(reply)
|
irc.error(reply)
|
||||||
add = wrap(add, ['user', 'somethingWithoutSpaces',
|
add = wrap(add, ['user',
|
||||||
'somethingWithoutSpaces'])
|
('somethingWithoutSpaces',
|
||||||
|
_('You must give a valid key id')),
|
||||||
|
('somethingWithoutSpaces',
|
||||||
|
_('You must give a valid key server'))])
|
||||||
|
|
||||||
@internationalizeDocstring
|
@internationalizeDocstring
|
||||||
def remove(self, irc, msg, args, user, fingerprint):
|
def remove(self, irc, msg, args, user, fingerprint):
|
||||||
|
Loading…
Reference in New Issue
Block a user