* Use GetLastParse() to get this value, to be used for display purposes.
*/
std::string LastParse;
- std::vector<TranslateType> LastParseTranslate;
unsigned int sent[256];
* @return Last parsed string, as seen by users.
*/
const std::string& GetLastParse() const { return LastParse; }
- const std::vector<TranslateType>& GetLastParseTranslate() { return LastParseTranslate; }
/** Add a mode to the mode parser.
* Throws a ModuleException if the mode cannot be added.
ModeType type = targetchannel ? MODETYPE_CHANNEL : MODETYPE_USER;
LastParse.clear();
- LastParseTranslate.clear();
LastChangeList.clear();
if ((!targetchannel) && ((!targetuser) || (IS_SERVER(targetuser))))
std::string output_mode;
std::string output_parameters;
- LastParseTranslate.push_back(TR_TEXT);
bool adding = true;
char output_pm = '\0'; // current output state, '+' or '-'
{
output_parameters.push_back(' ');
output_parameters.append(parameter);
- LastParseTranslate.push_back(mh->GetTranslateType());
}
LastChangeList.push(mh, adding, parameter);