From c0245a95c2bbe2e83a5514e6652ce483a70122ee Mon Sep 17 00:00:00 2001 From: "Sergey (Elzor) Bolhovskoy" Date: Thu, 8 Apr 2010 19:46:22 +0600 Subject: Add more options for ICQ protocol, auto remove useless messages from contact --- init.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'init.cpp') diff --git a/init.cpp b/init.cpp index a2d3c99..d597eb2 100644 --- a/init.cpp +++ b/init.cpp @@ -18,8 +18,15 @@ BOOL gbDosServiceIntegration = 0; BOOL gbCaseInsensitive = 0; BOOL gbInvisDisable = 0; BOOL gbIgnoreURL = 1; + +BOOL gbAutoAuth=0; +BOOL gbAutoAddToServerList=0; +BOOL gbAutoReqAuth=1; + //BOOL gbDelNotInList = 0; tstring gbSpammersGroup = _T("Spammers"); +tstring gbAutoAuthGroup = _T("NotSpammers"); + tstring gbQuestion; tstring gbAnswer; tstring gbCongratulation; @@ -144,6 +151,12 @@ void InitVars() gbCaseInsensitive = DBGetContactSettingByte(NULL, pluginName, "CaseInsensitive", 0); gbInvisDisable = DBGetContactSettingByte(NULL, pluginName, "DisableInInvis", 0); gbIgnoreURL = DBGetContactSettingByte(NULL, pluginName, "IgnoreURL", 0); + gbAutoAuthGroup = DBGetContactSettingStringPAN(NULL, pluginName, "AutoAuthGroup", _T("Not Spammers")); + gbAutoAuth=DBGetContactSettingByte(NULL, pluginName, "AutoAuth", 0); + gbAutoAddToServerList=DBGetContactSettingByte(NULL, pluginName, "AutoAddToServerList", 0); + gbAutoReqAuth=DBGetContactSettingByte(NULL, pluginName, "AutoReqAuth", 0); + + // gbDelNotInList = DBGetContactSettingByte(NULL, pluginName, "DelNotInList", 0); } -- cgit v1.2.3