summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-09-03 14:31:00 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-09-03 14:31:00 +0200
commit3427e32cc1fb4cb41a07b08e23e427cd794f9597 (patch)
treef346ac6ad6b2d9f9bd35ab5c98e7f95c5b649b7f /src
parent626005fe124d547119a113cd8c3c408a81c2f32e (diff)
Remove ModeParser::LastParseTranslate and GetLastParseTranslate()
Diffstat (limited to 'src')
-rw-r--r--src/mode.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index e00f7dc4c..ef62c9446 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();
- LastParseTranslate.clear();
LastChangeList.clear();
if ((!targetchannel) && ((!targetuser) || (IS_SERVER(targetuser))))
@@ -407,7 +406,6 @@ void ModeParser::Process(const std::vector<std::string>& parameters, User* user,
std::string output_mode;
std::string output_parameters;
- LastParseTranslate.push_back(TR_TEXT);
bool adding = true;
char output_pm = '\0'; // current output state, '+' or '-'
@@ -470,7 +468,6 @@ void ModeParser::Process(const std::vector<std::string>& parameters, User* user,
{
output_parameters.push_back(' ');
output_parameters.append(parameter);
- LastParseTranslate.push_back(mh->GetTranslateType());
}
LastChangeList.push(mh, adding, parameter);