Query Fix for SendQuery (Temporary)

This commit is contained in:
akkadius
2014-08-24 02:50:39 -05:00
parent 0b486b3f76
commit cef1dfd0c0
2 changed files with 4 additions and 4 deletions
+2 -2
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());
Event_Type, Character_ID, EscapeString(Event_Desc.c_str()).c_str());
SendQuery(query);
}
}