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

BUILD : 1.7.21 (1366) BUGS : 848 NOTES : No variable for NSReleaseTimeout in NICK_RECOVERED message

git-svn-id: svn://svn.anope.org/anope/trunk@1366 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1081 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b
2008-02-04 17:52:13 +00:00
parent 8d6b3b17fc
commit 18bde8d0a0
17 changed files with 32 additions and 21 deletions
+7 -1
View File
@@ -86,9 +86,15 @@ int do_recover(User * u)
int res = enc_check_password(pass, na->nc->pass);
if (res == 1) {
char relstr[192];
notice_lang(s_NickServ, u2, FORCENICKCHANGE_NOW);
collide(na, 0);
notice_lang(s_NickServ, u, NICK_RECOVERED, s_NickServ, nick);
/* Convert NSReleaseTimeout seconds to string format */
duration(u2->na, relstr, sizeof(relstr), NSReleaseTimeout);
notice_lang(s_NickServ, u, NICK_RECOVERED, s_NickServ, nick, relstr);
} else {
notice_lang(s_NickServ, u, ACCESS_DENIED);
if (res == 0) {