mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 17:51:28 +00:00
Remove extra c_str() non-sense now that the bug is fixed
This commit is contained in:
parent
6100da75c5
commit
67a774dd9b
@ -47,6 +47,6 @@ void QueryServ::PlayerLogEvent(int Event_Type, int Character_ID, std::string Eve
|
|||||||
{
|
{
|
||||||
std::string query = StringFormat(
|
std::string query = StringFormat(
|
||||||
"INSERT INTO `qs_player_events` (event, char_id, event_desc, time) VALUES (%i, %i, '%s', UNIX_TIMESTAMP(now()))",
|
"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);
|
SendQuery(query);
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user