1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 02:13:12 +02:00

Add a confirmation reply to ns recover on an unidentified user with svsnick

This commit is contained in:
Adam
2014-10-05 19:07:26 -04:00
parent 18b3c572f4
commit b068874f40
+1
View File
@@ -97,6 +97,7 @@ class NSRecoverRequest : public IdentifyRequest
/* If we can svsnick then release our hold and svsnick the user using the command */
nickserv->Release(na);
IRCD->SendForceNickChange(source.GetUser(), GetAccount(), Anope::CurTime);
source.Reply(_("You have regained control of \002%s\002 and are now identified as \002%s\002."), GetAccount().c_str(), na->nc->display.c_str());
}
else
source.Reply(_("The user with your nick has been removed. Use this command again\n"