diff options
Diffstat (limited to 'stopspam_mod/trunk/init.cpp')
-rw-r--r-- | stopspam_mod/trunk/init.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/stopspam_mod/trunk/init.cpp b/stopspam_mod/trunk/init.cpp index 166ac15..2e7b114 100644 --- a/stopspam_mod/trunk/init.cpp +++ b/stopspam_mod/trunk/init.cpp @@ -3,6 +3,7 @@ BOOL gbDosServiceExist = 0;
+BOOL gbVarsServiceExist = 0;
DWORD gbMaxQuestCount = 5;
BOOL gbInfTalkProtection = 0;
@@ -14,6 +15,8 @@ BOOL gbIgnoreContacts = 0; BOOL gbExclude = 1;
BOOL gbDelExcluded = 0;
BOOL gbDosServiceIntegration = 0;
+BOOL gbCaseInsensitive = 0;
+BOOL gbInvisDisable = 0;
//BOOL gbDelNotInList = 0;
tstring gbSpammersGroup = _T("Spammers");
tstring gbQuestion;
@@ -136,6 +139,8 @@ void InitVars() gbIgnoreContacts = DBGetContactSettingByte(NULL, pluginName, "IgnoreContacts", 0);
gbExclude = DBGetContactSettingByte(NULL, pluginName, "ExcludeContacts", 1);
gbDelExcluded = DBGetContactSettingByte(NULL, pluginName, "DelExcluded", 0);
+ gbCaseInsensitive = DBGetContactSettingByte(NULL, pluginName, "CaseInsensitive", 0);
+ gbInvisDisable = DBGetContactSettingByte(NULL, pluginName, "DisableInInvis", 0);
// gbDelNotInList = DBGetContactSettingByte(NULL, pluginName, "DelNotInList", 0);
}
@@ -143,6 +148,8 @@ static int OnSystemModulesLoaded(WPARAM wParam,LPARAM lParam) {
if (ServiceExists(MS_DOS_SERVICE))
gbDosServiceExist = TRUE;
+ if (ServiceExists(MS_VARS_FORMATSTRING))
+ gbVarsServiceExist = TRUE;
InitVars();
if(gbDelExcluded)
RemoveExcludedUsers();
|