aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2017-04-25 11:52:50 +0200
committerfunjoker <funjoker109@gmail.com>2020-04-28 13:43:40 +0200
commit6611211d31e20a9bdce7089d38999f2a2d9fbc12 (patch)
tree1039f37a665e0cae24e3928a709f2a0f3f4ec621 /src
parentdea71597455d3846c801cd340f0f2a6248c61800 (diff)
Core/Misc: Fix static analysis issues
(cherry picked from commit 65aeeafad385cca7d836272c37ee6f4d180d2842)
Diffstat (limited to 'src')
-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 88670fa59fd..2d18d2d035c 100644
--- a/src/server/game/Chat/Chat.cpp
+++ b/src/server/game/Chat/Chat.cpp
@@ -892,7 +892,7 @@ GameTele const* ChatHandler::extractGameTeleFromLink(char* text)
return nullptr;
// id case (explicit or from shift link)
- if (cId[0] >= '0' || cId[0] >= '9')
+ if (cId[0] >= '0' && cId[0] <= '9')
if (uint32 id = atoi(cId))
return sObjectMgr->GetGameTele(id);