diff options
| author | 2014-09-03 14:09:03 +0200 | |
|---|---|---|
| committer | 2014-09-03 14:09:03 +0200 | |
| commit | f3e803f5b9d8478e1f4d490a2f59ba7fca10a6b9 (patch) | |
| tree | 0c6b894cace5932c2e4ea8e124e210f021266665 /src/mode.cpp | |
| parent | Add Modes::Change and Modes::ChangeList (diff) | |
| download | inspircd++-f3e803f5b9d8478e1f4d490a2f59ba7fca10a6b9.tar.gz inspircd++-f3e803f5b9d8478e1f4d490a2f59ba7fca10a6b9.tar.bz2 inspircd++-f3e803f5b9d8478e1f4d490a2f59ba7fca10a6b9.zip | |
Populate a Modes::ChangeList object in ModeParser::Process()
Diffstat (limited to 'src/mode.cpp')
| -rw-r--r-- | src/mode.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mode.cpp b/src/mode.cpp index 4c31a94d7..b684af885 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -375,6 +375,7 @@ void ModeParser::Process(const std::vector<std::string>& parameters, User* user, LastParse.clear(); LastParseParams.clear(); LastParseTranslate.clear(); + LastChangeList.clear(); if ((!targetchannel) && ((!targetuser) || (IS_SERVER(targetuser)))) { @@ -474,6 +475,7 @@ void ModeParser::Process(const std::vector<std::string>& parameters, User* user, LastParseParams.push_back(parameter); LastParseTranslate.push_back(mh->GetTranslateType()); } + LastChangeList.push(mh, adding, parameter); if ((output_mode.length() + output_parameters.length() > 450) || (output_mode.length() > 100) |
