diff options
Diffstat (limited to 'modules/operserv/modinfo.cpp')
-rw-r--r-- | modules/operserv/modinfo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/operserv/modinfo.cpp b/modules/operserv/modinfo.cpp index e1860583c..074d6ed42 100644 --- a/modules/operserv/modinfo.cpp +++ b/modules/operserv/modinfo.cpp @@ -32,7 +32,7 @@ class CommandOSModInfo : public Command { const Anope::string &file = params[0]; - logger.Command(LogType::ADMIN, source, _("{source} used {command} on {0}"), file); + logger.Admin(source, _("{source} used {command} on {0}"), file); Module *m = ModuleManager::FindModule(file); if (m == nullptr) @@ -95,9 +95,9 @@ class CommandOSModList : public Command const Anope::string ¶m = !params.empty() ? params[0] : ""; if (!param.empty()) - logger.Command(LogType::ADMIN, source, _("{source} used {command} for {0}"), param); + logger.Admin(source, _("{source} used {command} for {0}"), param); else - logger.Command(LogType::ADMIN, source, _("{source} used {command}"), + logger.Admin(source, _("{source} used {command}"), source.GetSource(), source.GetCommand()); bool third = false, vendor = false, extra = false, database = false, encryption = false, pseudoclient = false, protocol = false; |