blob: b1e735e88d2b9dc33715923457d286f403ae7a78 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
struct Settings
{
Settings();
CMOption<bool> InfTalkProtection, AddPermanent, HandleAuthReq, AnswNotCaseSens, RemTmpAll, HistLog;
CMOption<wchar_t*> Question, AuthRepl, Answer, Congratulation, AnswSplitString;
CMOption<char*> DisabledProtoList;
CMOption<DWORD> MaxQuestCount;
bool ProtoDisabled(const char *proto)
{
std::string temp(proto); temp += ' ';
return strstr(DisabledProtoList, temp.c_str()) != nullptr;
}
};
extern Settings g_sets;
|