mirror of
https://github.com/anope/anope.git
synced 2026-06-27 03:16:37 +02:00
fixed typo in the last commit
This commit is contained in:
@@ -439,7 +439,7 @@ class OSDefcon : public Module
|
||||
|
||||
EventReturn OnPreCommand(CommandSource &source, Command *command, std::vector<Anope::string> ¶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;
|
||||
|
||||
Reference in New Issue
Block a user