summaryrefslogtreecommitdiff
path: root/modules/core/os_restart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/os_restart.cpp')
-rw-r--r--modules/core/os_restart.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/core/os_restart.cpp b/modules/core/os_restart.cpp
index c1d8c35ff..62cfb0a37 100644
--- a/modules/core/os_restart.cpp
+++ b/modules/core/os_restart.cpp
@@ -33,13 +33,13 @@ class CommandOSRestart : public Command
bool OnHelp(User *u, const Anope::string &subcommand)
{
- notice_help(Config->s_OperServ, u, OPER_HELP_RESTART);
+ u->SendMessage(OperServ, OPER_HELP_RESTART);
return true;
}
void OnServHelp(User *u)
{
- notice_lang(Config->s_OperServ, u, OPER_HELP_CMD_RESTART);
+ u->SendMessage(OperServ, OPER_HELP_CMD_RESTART);
}
};