mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-24 11:04: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)
|
ircdb.users.setUser(user, flush=False)
|
||||||
irc.reply(_('You are now authenticated as %s.') % user.name)
|
irc.reply(_('You are now authenticated as %s.') % user.name)
|
||||||
else:
|
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):
|
def doAccount(self, irc, msg):
|
||||||
account = msg.args[0]
|
account = msg.args[0]
|
||||||
|
Loading…
Reference in New Issue
Block a user