Remove extra c_str() non-sense now that the bug is fixed

This commit is contained in:
Michael Cook (mackal) 2014-08-24 22:28:37 -04:00
parent 6100da75c5
commit 67a774dd9b

View File

@ -47,6 +47,6 @@ void QueryServ::PlayerLogEvent(int Event_Type, int Character_ID, std::string Eve
{
std::string query = StringFormat(
"INSERT INTO `qs_player_events` (event, char_id, event_desc, time) VALUES (%i, %i, '%s', UNIX_TIMESTAMP(now()))",
Event_Type, Character_ID, EscapeString(Event_Desc.c_str()).c_str());
Event_Type, Character_ID, EscapeString(Event_Desc).c_str());
SendQuery(query);
}
}