summaryrefslogtreecommitdiff
path: root/src/mode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index 5ed156bda..e00f7dc4c 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -373,7 +373,6 @@ void ModeParser::Process(const std::vector<std::string>& parameters, User* user,
ModeType type = targetchannel ? MODETYPE_CHANNEL : MODETYPE_USER;
LastParse.clear();
- LastParseParams.clear();
LastParseTranslate.clear();
LastChangeList.clear();
@@ -408,7 +407,6 @@ void ModeParser::Process(const std::vector<std::string>& parameters, User* user,
std::string output_mode;
std::string output_parameters;
- LastParseParams.push_back(output_mode);
LastParseTranslate.push_back(TR_TEXT);
bool adding = true;
@@ -472,7 +470,6 @@ void ModeParser::Process(const std::vector<std::string>& parameters, User* user,
{
output_parameters.push_back(' ');
output_parameters.append(parameter);
- LastParseParams.push_back(parameter);
LastParseTranslate.push_back(mh->GetTranslateType());
}
LastChangeList.push(mh, adding, parameter);
@@ -486,8 +483,6 @@ void ModeParser::Process(const std::vector<std::string>& parameters, User* user,
}
}
- LastParseParams[0] = output_mode;
-
if (!output_mode.empty())
{
LastParse = targetchannel ? targetchannel->name : targetuser->nick;