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

Do not show SENDPASS in NickServ and ChanServ help to users who can't use it

This commit is contained in:
Adam
2011-03-01 19:27:03 -05:00
parent 54acc25eb3
commit 06679e487e
3 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -60,7 +60,8 @@ void AnopeFini(void)
**/
void myChanServHelp(User * u)
{
notice_lang(s_ChanServ, u, CHAN_HELP_CMD_SENDPASS);
if (!RestrictMail || is_services_oper(u))
notice_lang(s_ChanServ, u, CHAN_HELP_CMD_SENDPASS);
}
/**
+2 -1
View File
@@ -58,7 +58,8 @@ void AnopeFini(void)
**/
void myNickServHelp(User * u)
{
notice_lang(s_NickServ, u, NICK_HELP_CMD_SENDPASS);
if (!RestrictMail || is_services_oper(u))
notice_lang(s_NickServ, u, NICK_HELP_CMD_SENDPASS);
}
/**
+2 -1
View File
@@ -8,9 +8,10 @@ VERSION_MAJOR="1"
VERSION_MINOR="8"
VERSION_PATCH="5"
VERSION_EXTRA="-git"
VERSION_BUILD="3061"
VERSION_BUILD="3062"
# $Log$ # Changes since 1.8.5 Release
#Revision 3062 - Do not show SENDPASS in NickServ and ChanServ help to users who can't use it
#Revision 3061 - Rejoin our clients if kicked on TS6 IRCDs and made ratbox protocol module use account tracking
#Revision 3060 - Fixed bug 1248, an error in fr.l - reported by SaKa
#Revision 3059 - Fixed the wiki URLs in install.js