diff options
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); } |