Add EscapeString to the one function left that is missing it

This commit is contained in:
Akkadius 2019-09-17 00:37:55 -05:00
parent 96ef76847b
commit 11fdbb6a49

View File

@ -499,8 +499,8 @@ bool Database::CreateWorldRegistration(
"INSERT INTO login_world_servers SET id = {0}, long_name = '{1}', short_name = '{2}', last_ip_address = '{3}', \n"
"login_server_list_type_id = 3, login_server_admin_id = {4}, is_server_trusted = 0, tag_description = ''",
id,
server_long_name,
server_short_name,
EscapeString(server_long_name),
EscapeString(server_short_name),
server_remote_ip,
server_admin_id
);
@ -513,7 +513,6 @@ bool Database::CreateWorldRegistration(
server_short_name
);
return false;
}