summaryrefslogtreecommitdiff
path: root/src/core/os_admin.c
diff options
context:
space:
mode:
authorcyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-14 23:54:34 +0000
committercyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-14 23:54:34 +0000
commit0717d63c75496d328ae19ff9482230a63d8fe624 (patch)
treeb8c117f68f944dee8d05c5ea6dd93cfc93e46164 /src/core/os_admin.c
parentbf020d8dfd0f800a69902da65332a5aff4ae7b02 (diff)
Audited all remaining os_* modules, excluding os_restart (it causes a SIGTRAP that needs to be narrowed down).
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2050 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/os_admin.c')
-rw-r--r--src/core/os_admin.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/os_admin.c b/src/core/os_admin.c
index ad7f6130b..21593d7b7 100644
--- a/src/core/os_admin.c
+++ b/src/core/os_admin.c
@@ -235,9 +235,15 @@ class CommandOSAdmin : public Command
return MOD_CONT;
}
+ bool OnHelp(User *u, const std::string &subcommand)
+ {
+ notice_lang(s_OperServ, u, OPER_HELP_ADMIN);
+ return true;
+ }
+
void OnSyntaxError(User *u)
{
- syntax_error(s_OperServ, u, "ADMIN", OPER_ADMIN_SYNTAX);
+ syntax_error(s_OperServ, u, "ADMIN", OPER_ADMIN_SYNTAX);
}
};