diff options
author | Adam <Adam@anope.org> | 2017-02-06 14:23:18 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2017-02-06 14:23:18 -0500 |
commit | 8b694bc392c36551e428b84454efb81cdbc8bcd3 (patch) | |
tree | ca3d1ca8aadac280c149518134de4208f91dad84 /modules/operserv/defcon.cpp | |
parent | 9ad06f49bbb3824139b0c0ee0a74898a18c8f735 (diff) |
Track override in CommandSource and use it in the logger
Diffstat (limited to 'modules/operserv/defcon.cpp')
-rw-r--r-- | modules/operserv/defcon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/operserv/defcon.cpp b/modules/operserv/defcon.cpp index 3f24b2b63..ba4e213ef 100644 --- a/modules/operserv/defcon.cpp +++ b/modules/operserv/defcon.cpp @@ -225,7 +225,7 @@ class CommandOSDefcon : public Command source.Reply(_("Services are now at defcon \002{0}\002."), DConfig.defaultlevel); this->SendLevels(source); - logger.Command(LogType::ADMIN, source, _("{source} used {command} to change defcon level to {0}"), newLevel); + logger.Admin(source, _("{source} used {command} to change defcon level to {0}"), newLevel); /* Global notice the user what is happening. Also any Message that the Admin would like to add. Set in config file. */ |