From 90b2951a5377f302580944fd85fc0fb343e9339d Mon Sep 17 00:00:00 2001 From: megamage Date: Fri, 22 May 2009 16:44:35 -0500 Subject: [7874] Fix: possible runtime crash. Author: ApoC --HG-- branch : trunk --- src/game/Level3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3