summaryrefslogtreecommitdiff
path: root/src/core/os_admin.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/os_admin.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/os_admin.c')
-rw-r--r--src/core/os_admin.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/os_admin.c b/src/core/os_admin.c
index 21593d7b7..06391e498 100644
--- a/src/core/os_admin.c
+++ b/src/core/os_admin.c
@@ -215,7 +215,6 @@ class CommandOSAdmin : public Command
public:
CommandOSAdmin() : Command("ADMIN", 1, 2)
{
- this->help_param1 = s_NickServ;
}
CommandReturn Execute(User *u, std::vector<std::string> &params)
@@ -237,7 +236,7 @@ class CommandOSAdmin : public Command
bool OnHelp(User *u, const std::string &subcommand)
{
- notice_lang(s_OperServ, u, OPER_HELP_ADMIN);
+ notice_help(s_OperServ, u, OPER_HELP_ADMIN, s_NickServ);
return true;
}