diff options
Diffstat (limited to 'src/mode.cpp')
-rw-r--r-- | src/mode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mode.cpp b/src/mode.cpp index a60184ef2..d9c5c9d2b 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -763,6 +763,7 @@ void ModeParser::Process(const std::vector<std::string>& parameters, User *user, /* Was there at least one valid mode in the sequence? */ if (!output_sequence.empty()) { + LastParseParams.push_front(output_sequence); if (servermode) { if (type == MODETYPE_CHANNEL) @@ -778,7 +779,6 @@ void ModeParser::Process(const std::vector<std::string>& parameters, User *user, } else { - LastParseParams.push_front(output_sequence); if (type == MODETYPE_CHANNEL) { targetchannel->WriteChannel(user, "MODE %s %s%s", targetchannel->name.c_str(), output_sequence.c_str(), parameter_list.str().c_str()); |