summaryrefslogtreecommitdiff
path: root/modules/commands/cs_mode.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2017-02-21 12:35:51 -0500
committerAdam <Adam@anope.org>2017-02-21 12:35:51 -0500
commit98e62b403237fad5e99d3a648204c517d692e286 (patch)
tree7c232525e8eaf516c25d217888aa9bab73f16506 /modules/commands/cs_mode.cpp
parenta1d7d42d6aa1e9cb7546fdd689854b0a654901a9 (diff)
Fix logging in cs_mode set
Diffstat (limited to 'modules/commands/cs_mode.cpp')
-rw-r--r--modules/commands/cs_mode.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/commands/cs_mode.cpp b/modules/commands/cs_mode.cpp
index e2aac8d61..4cc8779c4 100644
--- a/modules/commands/cs_mode.cpp
+++ b/modules/commands/cs_mode.cpp
@@ -667,10 +667,10 @@ class CommandCSMode : public Command
ci->c->RemoveMode(NULL, cm, v[j]);
}
}
- }
-
- Log(override ? LOG_OVERRIDE : LOG_COMMAND, source, this, ci) << "to set " << params[2] << (params.size() > 3 ? " " + params[3] : "");
+ } // switch
}
+
+ Log(override ? LOG_OVERRIDE : LOG_COMMAND, source, this, ci) << "to set " << modes << (params.size() > 3 ? " " + params[3] : "");
}
void DoClear(CommandSource &source, ChannelInfo *ci, const std::vector<Anope::string> &params)