mirror of
https://github.com/anope/anope.git
synced 2026-06-28 10:26:37 +02:00
Backport of bugfix for bug #1064 from SVN r2188, original patch from DukePyrolator, fixes NS RECOVER so it doesn't display "(null)" in some places.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@2189 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -124,9 +124,15 @@ int do_recover(User * u)
|
||||
} else {
|
||||
if (group_identified(u, na->nc)
|
||||
|| (!(na->nc->flags & NI_SECURE) && is_on_access(u, na->nc))) {
|
||||
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 second 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);
|
||||
}
|
||||
|
||||
+2
-1
@@ -9,10 +9,11 @@ VERSION_MAJOR="1"
|
||||
VERSION_MINOR="8"
|
||||
VERSION_PATCH="0"
|
||||
VERSION_EXTRA="-svn"
|
||||
VERSION_BUILD="2187"
|
||||
VERSION_BUILD="2189"
|
||||
|
||||
# $Log$ # Changes since 1.8.0 Release
|
||||
|
||||
#Revision 2189 - Backport of bugfix for bug #1064 from SVN r2188, original patch from DukePyrolator, fixes NS RECOVER so it doesn't display "(null)" in some places.
|
||||
#Revision 2187 - Backport of bugfix for bug #1062 from SVN r2185 and 2186, patch from Adam, BS ASSIGN, BS ACT, and BS SAY should no longer send revealing error messages to users without access.
|
||||
#Revision 2182 - Fix memleak in channels.c from DukePyrolator. (Same fix applied to 1.9 earlier). Thanks DP!
|
||||
#Revision 2181 - Backport of bugfix for bug #1043 from SVN r2178, patch from Adam, CS LIST will no longer show suspended channels to normal users.
|
||||
|
||||
Reference in New Issue
Block a user