blob: 683d7cb0c79acff52451bc2376eb541985ceeee0 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
 | #pragma once
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;
 |