summaryrefslogtreecommitdiff
path: root/src/core/ns_set.c
diff options
context:
space:
mode:
authorcyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-15 01:59:21 +0000
committercyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-15 01:59:21 +0000
commit84d789c72b97513ec02a4e115b90cc952fadea64 (patch)
tree92ed7471914f52e0de08c639e1f26d78edd1d409 /src/core/ns_set.c
parent6d835a6e49d41d8353ee8506dc6d7cf7b3f1047a (diff)
Replaced notice_lang with notice_help in all OnHelp() functions in modules. Also fixed a few smaller issues regarding the help in the modules.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2053 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/ns_set.c')
-rw-r--r--src/core/ns_set.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/core/ns_set.c b/src/core/ns_set.c
index fa034effe..30c171698 100644
--- a/src/core/ns_set.c
+++ b/src/core/ns_set.c
@@ -505,31 +505,31 @@ class CommandNSSet : public Command
bool OnHelp(User *u, const std::string &subcommand)
{
if (subcommand == "DISPLAY")
- notice_lang(s_NickServ, u, NICK_HELP_SET_DISPLAY);
+ notice_help(s_NickServ, u, NICK_HELP_SET_DISPLAY);
else if (subcommand == "PASSWORD")
- notice_lang(s_NickServ, u, NICK_HELP_SET_PASSWORD);
+ notice_help(s_NickServ, u, NICK_HELP_SET_PASSWORD);
else if (subcommand == "URL")
- notice_lang(s_NickServ, u, NICK_HELP_SET_URL);
+ notice_help(s_NickServ, u, NICK_HELP_SET_URL);
else if (subcommand == "EMAIL")
- notice_lang(s_NickServ, u, NICK_HELP_SET_EMAIL);
+ notice_help(s_NickServ, u, NICK_HELP_SET_EMAIL);
else if (subcommand == "ICQ")
- notice_lang(s_NickServ, u, NICK_HELP_SET_ICQ);
+ notice_help(s_NickServ, u, NICK_HELP_SET_ICQ);
else if (subcommand == "GREET")
- notice_lang(s_NickServ, u, NICK_HELP_SET_GREET);
+ notice_help(s_NickServ, u, NICK_HELP_SET_GREET);
else if (subcommand == "KILL")
- notice_lang(s_NickServ, u, NICK_HELP_SET_KILL);
+ notice_help(s_NickServ, u, NICK_HELP_SET_KILL);
else if (subcommand == "SECURE")
- notice_lang(s_NickServ, u, NICK_HELP_SET_SECURE);
+ notice_help(s_NickServ, u, NICK_HELP_SET_SECURE);
else if (subcommand == "PRIVATE")
- notice_lang(s_NickServ, u, NICK_HELP_SET_PRIVATE);
+ notice_help(s_NickServ, u, NICK_HELP_SET_PRIVATE);
else if (subcommand == "MSG")
- notice_lang(s_NickServ, u, NICK_HELP_SET_MSG);
+ notice_help(s_NickServ, u, NICK_HELP_SET_MSG);
else if (subcommand == "HIDE")
- notice_lang(s_NickServ, u, NICK_HELP_SET_HIDE);
+ notice_help(s_NickServ, u, NICK_HELP_SET_HIDE);
else if (subcommand == "AUTOOP")
- notice_lang(s_NickServ, u, NICK_HELP_SET_AUTOOP);
+ notice_help(s_NickServ, u, NICK_HELP_SET_AUTOOP);
else
- notice_lang(s_NickServ, u, NICK_HELP_SET);
+ notice_help(s_NickServ, u, NICK_HELP_SET);
return true;
}