diff options
Diffstat (limited to 'modules/core/os_quit.cpp')
-rw-r--r-- | modules/core/os_quit.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/core/os_quit.cpp b/modules/core/os_quit.cpp index 47f3daba3..4eb184338 100644 --- a/modules/core/os_quit.cpp +++ b/modules/core/os_quit.cpp @@ -25,21 +25,21 @@ class CommandOSQuit : public Command { quitmsg = "QUIT command received from " + u->nick; - if (Config.GlobalOnCycle) - oper_global("", "%s", Config.GlobalOnCycleMessage.c_str()); + if (Config->GlobalOnCycle) + oper_global("", "%s", Config->GlobalOnCycleMessage.c_str()); quitting = true; return MOD_CONT; } bool OnHelp(User *u, const Anope::string &subcommand) { - notice_help(Config.s_OperServ, u, OPER_HELP_QUIT); + notice_help(Config->s_OperServ, u, OPER_HELP_QUIT); return true; } void OnServHelp(User *u) { - notice_lang(Config.s_OperServ, u, OPER_HELP_CMD_QUIT); + notice_lang(Config->s_OperServ, u, OPER_HELP_CMD_QUIT); } }; |