Skip to content
Snippets Groups Projects
Commit 5e486cf2 authored by Dave SIMmONs's avatar Dave SIMmONs
Browse files

Cleanup: use CHAT_CHANNEL_DEBUG instead of 2147483647

parent 18f5bbfd
No related branches found
No related tags found
No related merge requests found
...@@ -694,7 +694,7 @@ class LLChatHandler : public LLCommandHandler ...@@ -694,7 +694,7 @@ class LLChatHandler : public LLCommandHandler
{ {
S32 channel = tokens[0].asInteger(); S32 channel = tokens[0].asInteger();
// VWR-19499 Restrict function to chat channels greater than 0. // VWR-19499 Restrict function to chat channels greater than 0.
if ((channel > 0) && (channel < 2147483647)) if ((channel > 0) && (channel < CHAT_CHANNEL_DEBUG))
{ {
retval = true; retval = true;
// Say mesg on channel // Say mesg on channel
......
...@@ -895,7 +895,7 @@ class LLChatCommandHandler : public LLCommandHandler ...@@ -895,7 +895,7 @@ class LLChatCommandHandler : public LLCommandHandler
{ {
S32 channel = tokens[0].asInteger(); S32 channel = tokens[0].asInteger();
// VWR-19499 Restrict function to chat channels greater than 0. // VWR-19499 Restrict function to chat channels greater than 0.
if ((channel > 0) && (channel < 2147483647)) if ((channel > 0) && (channel < CHAT_CHANNEL_DEBUG))
{ {
retval = true; retval = true;
// Send unescaped message, see EXT-6353. // Send unescaped message, see EXT-6353.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment