summaryrefslogtreecommitdiff
path: root/init.cpp
diff options
context:
space:
mode:
authorSergey (Elzor) Bolhovskoy <elzor@foobar2000.ru>2010-04-08 19:46:22 +0600
committerSergey (Elzor) Bolhovskoy <elzor@foobar2000.ru>2010-04-08 19:46:22 +0600
commitc0245a95c2bbe2e83a5514e6652ce483a70122ee (patch)
tree1957eaacd6c0b825dd17759e35514f519b84d8ca /init.cpp
parentb63effd23d033036b6b07c16680d26636289ab53 (diff)
Add more options for ICQ protocol, auto remove useless messages from contact
Diffstat (limited to 'init.cpp')
-rw-r--r--init.cpp13
1 files changed, 13 insertions, 0 deletions
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);
}