diff options
author | Sergey (Elzor) Bolhovskoy <elzor@foobar2000.ru> | 2010-04-08 19:46:22 +0600 |
---|---|---|
committer | Sergey (Elzor) Bolhovskoy <elzor@foobar2000.ru> | 2010-04-08 19:46:22 +0600 |
commit | c0245a95c2bbe2e83a5514e6652ce483a70122ee (patch) | |
tree | 1957eaacd6c0b825dd17759e35514f519b84d8ca /init.cpp | |
parent | b63effd23d033036b6b07c16680d26636289ab53 (diff) |
Add more options for ICQ protocol, auto remove useless messages from contact
Diffstat (limited to 'init.cpp')
-rw-r--r-- | init.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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); } |