summaryrefslogtreecommitdiff
path: root/src/mode.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-09-03 14:30:04 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-09-03 14:30:04 +0200
commit626005fe124d547119a113cd8c3c408a81c2f32e (patch)
treecf1f9d9494989eb159d5716882c75741d91074ca /src/mode.cpp
parentbc889c6e866e0570ecb44b6fe030e030bc0715f0 (diff)
Remove ModeParser::LastParseParams and GetLastParseParams()
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;