#pragma once struct Settings { Settings(); CMOption InfTalkProtection, AddPermanent, HandleAuthReq, AnswNotCaseSens, RemTmpAll, HistLog; CMOption Question, AuthRepl, Answer, Congratulation, AnswSplitString; CMOption DisabledProtoList; CMOption MaxQuestCount; const wchar_t* getQuestion(); const wchar_t* getReply(); const wchar_t* getCongrats(); bool ProtoDisabled(const char *proto) { std::string temp(proto); temp += ' '; return strstr(DisabledProtoList, temp.c_str()) != nullptr; } }; extern Settings g_sets;