aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Chat/ChatLink.cpp
diff options
context:
space:
mode:
authorRat <gmstreetrat@gmail.com>2014-11-11 16:22:31 +0100
committerRat <gmstreetrat@gmail.com>2014-11-11 16:22:31 +0100
commit1918a3be6aedaf7a137e5c6dd8f3c0f791b96a2f (patch)
tree211407137d1ff5d4c4a0f43a1c452f0645f0f0be /src/server/game/Chat/ChatLink.cpp
parentb978f0286c4ff1f00d4806b332f825df80c0112e (diff)
parent9120eef500bacbe7d54cdf4c5e1e07528854a49a (diff)
Merge pull request #13529 from Intel/talents
Core/Talents: Update talent system, remove talent points. author: Intel
Diffstat (limited to 'src/server/game/Chat/ChatLink.cpp')
-rw-r--r--src/server/game/Chat/ChatLink.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Chat/ChatLink.cpp b/src/server/game/Chat/ChatLink.cpp
index e671713c643..eb99a19cf78 100644
--- a/src/server/game/Chat/ChatLink.cpp
+++ b/src/server/game/Chat/ChatLink.cpp
@@ -451,10 +451,10 @@ bool TalentChatLink::Initialize(std::istringstream& iss)
return false;
}
// Validate talent's spell
- _spell = sSpellMgr->GetSpellInfo(talentInfo->RankID[0]);
+ _spell = sSpellMgr->GetSpellInfo(talentInfo->SpellID);
if (!_spell)
{
- TC_LOG_TRACE("chat.system", "ChatHandler::isValidChatMessage('%s'): got invalid spell id %u in |trade command", iss.str().c_str(), talentInfo->RankID[0]);
+ TC_LOG_TRACE("chat.system", "ChatHandler::isValidChatMessage('%s'): got invalid spell id %u in |trade command", iss.str().c_str(), talentInfo->SpellID);
return false;
}
// Delimiter