summaryrefslogtreecommitdiff
path: root/modules/commands/os_list.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-08-25 00:14:17 -0400
committerAdam <Adam@anope.org>2013-08-25 04:48:43 -0400
commit00a19529c3f310a437a8f8b5bdd758034abb8585 (patch)
tree2c38bab1718ec692251a88f39d514d1a8ef89afa /modules/commands/os_list.cpp
parent446b3a910d457ce32e6accd4ecc47e6e02f66ed4 (diff)
Add logging to several operserv commands
Diffstat (limited to 'modules/commands/os_list.cpp')
-rw-r--r--modules/commands/os_list.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/commands/os_list.cpp b/modules/commands/os_list.cpp
index f0005e1da..b72e3acbd 100644
--- a/modules/commands/os_list.cpp
+++ b/modules/commands/os_list.cpp
@@ -27,6 +27,11 @@ class CommandOSChanList : public Command
std::set<Anope::string> modes;
User *u2;
+ if (!pattern.empty())
+ Log(LOG_ADMIN, source, this) << "for " << pattern;
+ else
+ Log(LOG_ADMIN, source, this);
+
if (!opt.empty() && opt.equals_ci("SECRET"))
{
modes.insert("SECRET");
@@ -129,6 +134,11 @@ class CommandOSUserList : public Command
Channel *c;
std::set<Anope::string> modes;
+ if (!pattern.empty())
+ Log(LOG_ADMIN, source, this) << "for " << pattern;
+ else
+ Log(LOG_ADMIN, source, this);
+
if (!opt.empty() && opt.equals_ci("INVISIBLE"))
modes.insert("INVIS");