Initial Commit
Initial Commit
This commit is contained in:
14
_module/nss/wdiff_unauth.nss
Normal file
14
_module/nss/wdiff_unauth.nss
Normal file
@@ -0,0 +1,14 @@
|
||||
#include "x4_inc_functions"
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
object oModule = GetModule();
|
||||
string sDB = GetLocalString(oModule, "DB");
|
||||
string sLogin = GetLocalString(oPC, "LoginSpoken");
|
||||
if (sLogin == "") return;
|
||||
DeleteLocalString(oPC, "LoginSpoken");
|
||||
string sLoginConv = GetStringLowerCase(sLogin);
|
||||
string sVarName = "ACCOUNT_"+sLoginConv+"_Auth";
|
||||
SetCampaignInt(sDB, sVarName, 0);
|
||||
|
||||
}
|
Reference in New Issue
Block a user