diff --git a/ARES/application/filter.lsl b/ARES/application/filter.lsl index b97fea3..c5eba30 100644 --- a/ARES/application/filter.lsl +++ b/ARES/application/filter.lsl @@ -756,15 +756,15 @@ main(integer src, integer n, string m, key outs, key ins, key user) { if(~fi) { integer current_status = index(activated_filters, filter); if(new_status && !~current_status) { - if(activated_filters == []) { + /*if(activated_filters == []) { task_begin(session = llGenerateKey(), ""); - } + }*/ activated_filters += filter; } else if(~current_status && !new_status) { - activated_filters = delitem(activated_filters, current_status); + /*activated_filters = delitem(activated_filters, current_status); if(activated_filters == []) { task_end(session); - } + }*/ if(filter == "translate" && translate_pipe != "") { pipe_close(translate_pipe); @@ -893,7 +893,7 @@ main(integer src, integer n, string m, key outs, key ins, key user) { #ifdef DEBUG echo("[" + PROGRAM_NAME + "] init event"); #endif - list active_filters = jskeys(getdbl("vox", ["active"])); + /*list active_filters = jskeys(getdbl("vox", ["active"])); integer ai = count(active_filters); while(ai--) { @@ -906,7 +906,7 @@ main(integer src, integer n, string m, key outs, key ins, key user) { } activated_filters += filter; } - } + }*/ } else if(n == SIGNAL_UNKNOWN_SCRIPT) { echo("[" + PROGRAM_NAME + "] failed to run '" + m + "' (kernel could not find the program specified)"); } else { diff --git a/ARES/system/policy.lsl b/ARES/system/policy.lsl index 7447935..f7c7164 100644 --- a/ARES/system/policy.lsl +++ b/ARES/system/policy.lsl @@ -509,11 +509,9 @@ main(integer src, integer n, string m, key outs, key ins, key user) { } else if(n == SIGNAL_EVENT) { integer e = (integer)m; if(e == EVENT_ON_REZ) { - if(!initialized) { - // this should never happen, but hooking EVENT_ON_REZ is still helpful for ensuring SIGNAL_INIT is triggered anyway - n = SIGNAL_INIT; - jump restart_main; - } + // with universal nonvolatility this is now very relevant: + n = SIGNAL_INIT; + jump restart_main; } } else if(n == SIGNAL_UNKNOWN_SCRIPT) { echo("[" + PROGRAM_NAME + "] failed to run '" + m + "' (kernel could not find the program specified)");