fixed crash on command execution
fixed crash on command execution

seems that clang is now compilable and playable on linux too \o/

Helias/azerothcore-wotlk,jokerlfm/azerothcore-wotlk,jokerlfm/azerothcore-wotlk,Helias/azerothcore-wotlk,azerothcore/azerothcore-wotlk,DantestyleXD/azerothcore-wotlk,jokerlfm/azerothcore-wotlk,DantestyleXD/azerothcore-wotlk,Nefertumm/azerothcore-wotlk,Helias/azerothcore-wotlk,mygithome002/azerothcore-wotlk,mygithome002/azerothcore-wotlk,Helias/azerothcore-wotlk,DantestyleXD/azerothcore-wotlk,ShinDarth/azerothcore-wotlk,mygithome002/azerothcore-wotlk,polaretto/azerothcore-wotlk,azerothcore/azerothcore-wotlk,DantestyleXD/azerothcore-wotlk,Helias/azerothcore-wotlk,Helias/azerothcore-wotlk,jokerlfm/azerothcore-wotlk,mygithome002/azerothcore-wotlk,ShinDarth/azerothcore-wotlk,mygithome002/azerothcore-wotlk,Nefertumm/azerothcore-wotlk,Nefertumm/azerothcore-wotlk,azerothcore/azerothcore-wotlk,mygithome002/azerothcore-wotlk,Nefertumm/azerothcore-wotlk,jokerlfm/azerothcore-wotlk,Nefertumm/azerothcore-wotlk,ShinDarth/azerothcore-wotlk,polaretto/azerothcore-wotlk,jokerlfm/azerothcore-wotlk,azerothcore/azerothcore-wotlk,polaretto/azerothcore-wotlk,ShinDarth/azerothcore-wotlk,polaretto/azerothcore-wotlk,azerothcore/azerothcore-wotlk,azerothcore/azerothcore-wotlk,Nefertumm/azerothcore-wotlk