summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorDave SIMmONs <simon@lindenlab.com>2011-04-05 10:34:24 -0700
committerDave SIMmONs <simon@lindenlab.com>2011-04-05 10:34:24 -0700
commit5e486cf21bf8bcd4a40b44d024a19f8318e596bc (patch)
treef374a9ef0d9b60f6c65d51371a15c5d83fd04f73 /indra/newview
parent18f5bbfdd3b08e33bc27b787cb4cc1293e2586c8 (diff)
Cleanup: use CHAT_CHANNEL_DEBUG instead of 2147483647
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llchatbar.cpp2
-rw-r--r--indra/newview/llnearbychatbar.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llchatbar.cpp b/indra/newview/llchatbar.cpp
index 4a58dc558a..cf0374075a 100644
--- a/indra/newview/llchatbar.cpp
+++ b/indra/newview/llchatbar.cpp
@@ -694,7 +694,7 @@ public:
{
S32 channel = tokens[0].asInteger();
// VWR-19499 Restrict function to chat channels greater than 0.
- if ((channel > 0) && (channel < 2147483647))
+ if ((channel > 0) && (channel < CHAT_CHANNEL_DEBUG))
{
retval = true;
// Say mesg on channel
diff --git a/indra/newview/llnearbychatbar.cpp b/indra/newview/llnearbychatbar.cpp
index 947efdbb19..cf828306d8 100644
--- a/indra/newview/llnearbychatbar.cpp
+++ b/indra/newview/llnearbychatbar.cpp
@@ -895,7 +895,7 @@ public:
{
S32 channel = tokens[0].asInteger();
// VWR-19499 Restrict function to chat channels greater than 0.
- if ((channel > 0) && (channel < 2147483647))
+ if ((channel > 0) && (channel < CHAT_CHANNEL_DEBUG))
{
retval = true;
// Send unescaped message, see EXT-6353.