From 4c2bf72cb642fc03de3eaf2591d84cb622609cb2 Mon Sep 17 00:00:00 2001 From: DukePyrolator Date: Sun, 14 Sep 2014 11:12:54 +0200 Subject: [PATCH] fixed typo in the last commit --- modules/commands/os_defcon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/commands/os_defcon.cpp b/modules/commands/os_defcon.cpp index a618693d6..247938049 100644 --- a/modules/commands/os_defcon.cpp +++ b/modules/commands/os_defcon.cpp @@ -439,7 +439,7 @@ class OSDefcon : public Module EventReturn OnPreCommand(CommandSource &source, Command *command, std::vector ¶ms) anope_override { - if (Config.Check(DEFCON_OPER_ONLY) && !source.IsOper()) + if (DConfig.Check(DEFCON_OPER_ONLY) && !source.IsOper()) { source.Reply(_("Services are in DefCon mode, please try again later.")); return EVENT_STOP;