diff options
author | Adam <Adam@anope.org> | 2013-08-25 00:14:17 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-08-25 04:48:43 -0400 |
commit | 00a19529c3f310a437a8f8b5bdd758034abb8585 (patch) | |
tree | 2c38bab1718ec692251a88f39d514d1a8ef89afa /modules/commands/os_modinfo.cpp | |
parent | 446b3a910d457ce32e6accd4ecc47e6e02f66ed4 (diff) |
Add logging to several operserv commands
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")) |