Core: Fix warnings

This commit is contained in:
Vincent_Michael
2013-03-18 23:38:07 +01:00
parent 4e1a4b3ce4
commit 52340e74e2
@@ -210,6 +210,7 @@ public:
{
std::string name = strtok(NULL, " ");
if (normalizePlayerName(name))
{
if (Player* player = sObjectAccessor->FindPlayerByName(name))
{
handler->GetSession()->GetPlayer()->RemoveFromWhisperWhiteList(player->GetGUID());
@@ -222,6 +223,7 @@ public:
handler->SetSentErrorMessage(true);
return false;
}
}
}
handler->SendSysMessage(LANG_USE_BOL);
handler->SetSentErrorMessage(true);