aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Chat/ChatLink.cpp
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2017-11-12 12:44:45 +0100
committerjackpoz <giacomopoz@gmail.com>2017-11-12 14:55:11 +0100
commita80c95a1c788932696fb43e69b9012a751431bac (patch)
treec6c116b1b1923e3ca72682c2fd98a3b883a1c384 /src/server/game/Chat/ChatLink.cpp
parent9b7c73a19df66849ec829fc5a94875aa9593934d (diff)
Core/Misc: Fix static analysis issues
Diffstat (limited to 'src/server/game/Chat/ChatLink.cpp')
-rw-r--r--src/server/game/Chat/ChatLink.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Chat/ChatLink.cpp b/src/server/game/Chat/ChatLink.cpp
index db07e9e2efd..e7fd0b97703 100644
--- a/src/server/game/Chat/ChatLink.cpp
+++ b/src/server/game/Chat/ChatLink.cpp
@@ -153,7 +153,7 @@ bool ItemChatLink::Initialize(std::istringstream& iss)
return false;
}
}
- else if (id < 0)
+ else
{
_suffix = sItemRandomSuffixStore.LookupEntry(-id);
if (!_suffix)