summaryrefslogtreecommitdiff
path: root/modules/commands/os_defcon.cpp
diff options
context:
space:
mode:
authorDukePyrolator <DukePyrolator@anope.org>2014-09-14 11:12:54 +0200
committerDukePyrolator <DukePyrolator@anope.org>2014-09-14 11:12:54 +0200
commit4c2bf72cb642fc03de3eaf2591d84cb622609cb2 (patch)
tree3cecafc2cdd34e72c8815fa9a416aee78f063610 /modules/commands/os_defcon.cpp
parent8e7b742ec73a0a0c5a9ae1dc4ce246ebbe37c737 (diff)
fixed typo in the last commit
Diffstat (limited to 'modules/commands/os_defcon.cpp')
-rw-r--r--modules/commands/os_defcon.cpp2
1 files changed, 1 insertions, 1 deletions
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<Anope::string> &params) 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;