summaryrefslogtreecommitdiff
path: root/modules/commands/cs_mode.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-08-26 02:05:00 -0400
committerAdam <Adam@anope.org>2013-08-26 02:05:41 -0400
commit7f890ce98dc2df28e2b7b43ef5bf0f2f27b97f15 (patch)
tree93800967fb4aefedd0cd6050c65fd82041d949ac /modules/commands/cs_mode.cpp
parent50e1a3e96c95e42d48feb7f5ed80f13c5b5f0e4a (diff)
Log parameters given to /cs mode set. Add logging to /os ignore.
Diffstat (limited to 'modules/commands/cs_mode.cpp')
-rw-r--r--modules/commands/cs_mode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/cs_mode.cpp b/modules/commands/cs_mode.cpp
index bf7817053..0974f18c2 100644
--- a/modules/commands/cs_mode.cpp
+++ b/modules/commands/cs_mode.cpp
@@ -454,7 +454,7 @@ class CommandCSMode : public Command
Anope::string modes = params[2], param;
bool override = !source.AccessFor(ci).HasPriv("MODE") && source.HasPriv("chanserv/administration");
- Log(override ? LOG_OVERRIDE : LOG_COMMAND, source, this, ci) << "to set " << params[2];
+ Log(override ? LOG_OVERRIDE : LOG_COMMAND, source, this, ci) << "to set " << params[2] << (params.size() > 3 ? " " + params[3] : "");
int adding = -1;
for (size_t i = 0; i < modes.length(); ++i)