aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Chat/Chat.cpp
diff options
context:
space:
mode:
authorSpp <none@none>2010-09-21 10:11:25 +0200
committerSpp <none@none>2010-09-21 10:11:25 +0200
commit7a3fd2e9bfab54dca6b23de724617fef060269a8 (patch)
treec3e3c9302bd4fa98d6eb7fb1d36bc682357b442e /src/server/game/Chat/Chat.cpp
parent63aa6e44fb9c7ca1f2dd0dabfeeae8a974dadaee (diff)
Core/: Fix warnings
--HG-- branch : trunk
Diffstat (limited to 'src/server/game/Chat/Chat.cpp')
-rw-r--r--src/server/game/Chat/Chat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Chat/Chat.cpp b/src/server/game/Chat/Chat.cpp
index 63c20aa8a06..fd855fc82e1 100644
--- a/src/server/game/Chat/Chat.cpp
+++ b/src/server/game/Chat/Chat.cpp
@@ -1689,7 +1689,7 @@ valid examples:
bool foundName = false;
for (uint8 dbIndex = LOCALE_koKR; dbIndex < MAX_LOCALE; ++dbIndex)
{
- if (dbIndex == -1 || il == NULL || uint8(dbIndex) >= il->Name.size())
+ if (il == NULL || dbIndex >= il->Name.size())
// using strange database/client combinations can lead to this case
expectedName = linkedItem->Name1;
else