summaryrefslogtreecommitdiff
path: root/init.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2010-04-09 05:26:46 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2010-04-09 05:26:46 +0300
commit8df2a03d555d4359185344774d20016ec4709308 (patch)
tree1957eaacd6c0b825dd17759e35514f519b84d8ca /init.cpp
parent15ee16e4e22313487b6676bf24fd8e53bfe3a2d5 (diff)
parentc0245a95c2bbe2e83a5514e6652ce483a70122ee (diff)
Merge remote branch 'origin/stopspam_mod_elzor' into stopspam_mod
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);
}