aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-22 16:44:35 -0500
committermegamage <none@none>2009-05-22 16:44:35 -0500
commit90b2951a5377f302580944fd85fc0fb343e9339d (patch)
treeb038d402ff7da82078dad0da5b93aa30b46e1ae1
parent7f2fb69726fda3bce65a206f11977f9aabd05238 (diff)
[7874] Fix: possible runtime crash. Author: ApoC
--HG-- branch : trunk
-rw-r--r--src/game/Level3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Level3.cpp b/src/game/Level3.cpp
index be54659ec7e..724dfe24a36 100644
--- a/src/game/Level3.cpp
+++ b/src/game/Level3.cpp
@@ -5215,7 +5215,7 @@ bool ChatHandler::HandleResetSpellsCommand(const char * args)
else
{
CharacterDatabase.PExecute("UPDATE characters SET at_login = at_login | '%u' WHERE guid = '%u'",uint32(AT_LOGIN_RESET_SPELLS), GUID_LOPART(target_guid));
- PSendSysMessage(LANG_RESET_SPELLS_OFFLINE,target_name);
+ PSendSysMessage(LANG_RESET_SPELLS_OFFLINE,target_name.c_str());
}
return true;