Skip to content

Commit

Permalink
Merge pull request #1085 from OpenCollarTeam/Medea-Destiny-exc-patch
Browse files Browse the repository at this point in the history
Update oc_rlvextension.lsl
  • Loading branch information
SilkieSabra authored Sep 3, 2024
2 parents f815bf8 + 90b1560 commit 7196b42
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/collar/oc_leash.lsl
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ integer RLV_CMD = 6000;

integer RLV_OFF = 6100;
integer RLV_ON = 6101;
integer EXC_REFRESH=6200; // send to request exceptions are refreshed.
integer EXC_REFRESH=6109; // send to request exceptions are refreshed.

integer LEASH_START_MOVEMENT = 6200;
integer LEASH_END_MOVEMENT = 6201;
Expand Down
4 changes: 3 additions & 1 deletion src/collar/oc_rlvextension.lsl
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ integer RLV_REFRESH = 6001;//RLV plugins should reinstate their restrictions upo
integer RLV_CMD_OVERRIDE=6010; // one-shot (=force) command that will override restrictions. Only use if Auth is owner level
integer RLV_OFF = 6100; // send to inform plugins that RLV is disabled now, no message or key needed
integer RLV_ON = 6101; // send to inform plugins that RLV is enabled now, no message or key needed
integer EXC_REFRESH=6200; // send to request exceptions are refreshed.
integer EXC_REFRESH=6109; // send to request exceptions are refreshed.


integer DIALOG = -9000;
Expand Down Expand Up @@ -849,6 +849,8 @@ state active
SetAllExes(TRUE,EX_TYPE_OWNER|EX_TYPE_TRUSTED|EX_TYPE_CUSTOM,FALSE);
g_iRLV = FALSE;
} else if(iNum==EXC_REFRESH) {
SetAllExes(TRUE,EX_TYPE_OWNER|EX_TYPE_TRUSTED|EX_TYPE_CUSTOM,FALSE);
llSleep(1);
SetAllExes(FALSE,EX_TYPE_OWNER|EX_TYPE_TRUSTED|EX_TYPE_CUSTOM,FALSE);
} else if (iNum == RLV_REFRESH || iNum == RLV_ON) {
g_iRLV = TRUE;
Expand Down

0 comments on commit 7196b42

Please # to comment.