Skip to content

Commit

Permalink
Fix typo in variable name: ASKROLE_CHANEL -> ASKROLE_CHANNEL
Browse files Browse the repository at this point in the history
  • Loading branch information
Sei-Lisa committed Dec 14, 2017
1 parent 4c0cfe6 commit 4852d03
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions AVsitter2/Plugins/AVcontrol/[AV]root-RLV.lsl
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ integer RELAY_CHANNEL = -1812221819;
integer RELAY_SEARCH_CHANNEL;
integer RELAY_GETCAPTURESTATUSchannel;
integer RELAY_CHECK_CHANNEL;
integer ASKROLE_CHANEL = -748363;
integer ASKROLE_CHANNEL = -748363;
integer menu_channel;
integer menu_handle;
integer relay_handle;
Expand Down Expand Up @@ -383,7 +383,7 @@ get_unique_channels()
RELAY_SEARCH_CHANNEL = (integer)llFrand(999999936) + 1; // 999999936 = max float < 1e9
RELAY_GETCAPTURESTATUSchannel = RELAY_SEARCH_CHANNEL + 2;
RELAY_CHECK_CHANNEL = RELAY_SEARCH_CHANNEL + 4;
ASKROLE_CHANEL = ((integer)llFrand(0x7FFFFF80) + 1) * -1; // 7FFFFF80 = max float < 2^31
ASKROLE_CHANNEL = ((integer)llFrand(0x7FFFFF80) + 1) * -1; // 7FFFFF80 = max float < 2^31
llListenRemove(relay_handle);
relay_handle = llListen(RELAY_CHANNEL, "", "", (ping = "ping," + (string)llGetKey() + ",ping,ping"));
}
Expand Down Expand Up @@ -575,7 +575,7 @@ hovertext()

ask_role(key id)
{
llDialog(id, product + " " + version + "\n\nPlease select your role:\n", [Dominant_name, Submissive_name], ASKROLE_CHANEL);
llDialog(id, product + " " + version + "\n\nPlease select your role:\n", [Dominant_name, Submissive_name], ASKROLE_CHANNEL);
}

back(key id)
Expand Down Expand Up @@ -854,7 +854,7 @@ state running

listen(integer channel, string name, key id, string msg)
{
if (channel == ASKROLE_CHANEL)
if (channel == ASKROLE_CHANNEL)
{
if (llListFindList(SITTING_AVATARS, [id]) != -1)
{
Expand Down Expand Up @@ -1195,7 +1195,7 @@ state running
}
else
{
ASKROLEhandle = llListen(ASKROLE_CHANEL, "", "", "");
ASKROLEhandle = llListen(ASKROLE_CHANNEL, "", "", "");
CHECKhandle = llListen(RELAY_CHECK_CHANNEL, "", "", "");
}
hovertext();
Expand Down

0 comments on commit 4852d03

Please sign in to comment.