diff options
Diffstat (limited to 'modules/commands/os_modinfo.cpp')
-rw-r--r-- | modules/commands/os_modinfo.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/commands/os_modinfo.cpp b/modules/commands/os_modinfo.cpp index 1ad03c7c0..3563185ae 100644 --- a/modules/commands/os_modinfo.cpp +++ b/modules/commands/os_modinfo.cpp @@ -24,6 +24,8 @@ class CommandOSModInfo : public Command { const Anope::string &file = params[0]; + Log(LOG_ADMIN, source, this) << "on " << file; + Module *m = ModuleManager::FindModule(file); if (m) { @@ -81,6 +83,11 @@ class CommandOSModList : public Command { const Anope::string ¶m = !params.empty() ? params[0] : ""; + if (!param.empty()) + Log(LOG_ADMIN, source, this) << "for " << param; + else + Log(LOG_ADMIN, source, this); + bool third = false, extra = false, vendor = false, database = false, encryption = false, pseudoclient = false, protocol = false; if (param.equals_ci("all")) |