mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-24 02:54:05 +01:00
NickAuth: Improve error message.
This commit is contained in:
parent
5b29c8c0dd
commit
1fdbc24714
@ -177,7 +177,11 @@ class NickAuth(callbacks.Plugin):
|
||||
ircdb.users.setUser(user, flush=False)
|
||||
irc.reply(_('You are now authenticated as %s.') % user.name)
|
||||
else:
|
||||
irc.error(_('No user has this nick on this network.'))
|
||||
irc.error(_('No user of claimed the nick %s on this network. '
|
||||
'If this is you, you should connect with an other '
|
||||
'method and use the "nickauth nick add" command, '
|
||||
'or ask the owner of the bot to do it.')
|
||||
% (theiraccount,))
|
||||
|
||||
def doAccount(self, irc, msg):
|
||||
account = msg.args[0]
|
||||
|
Loading…
Reference in New Issue
Block a user