From 98e62b403237fad5e99d3a648204c517d692e286 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 21 Feb 2017 12:35:51 -0500 Subject: Fix logging in cs_mode set --- modules/commands/cs_mode.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/commands/cs_mode.cpp') 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 ¶ms) -- cgit