From 1fdbc24714e2a10b19c9369400304e2107f7ee00 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Mon, 31 Oct 2016 16:28:08 +0100 Subject: [PATCH] NickAuth: Improve error message. --- plugins/NickAuth/plugin.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/NickAuth/plugin.py b/plugins/NickAuth/plugin.py index 631423c52..d62d0d179 100644 --- a/plugins/NickAuth/plugin.py +++ b/plugins/NickAuth/plugin.py @@ -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]