codestyle and also 2 lines below
you don't need .c_str()
and use WorldSession::GetPlayerName() to avoid GetPlayer() returns NULL