mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 02:11:30 +00:00
Add EscapeString to the one function left that is missing it
This commit is contained in:
parent
96ef76847b
commit
11fdbb6a49
@ -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"
|
"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 = ''",
|
"login_server_list_type_id = 3, login_server_admin_id = {4}, is_server_trusted = 0, tag_description = ''",
|
||||||
id,
|
id,
|
||||||
server_long_name,
|
EscapeString(server_long_name),
|
||||||
server_short_name,
|
EscapeString(server_short_name),
|
||||||
server_remote_ip,
|
server_remote_ip,
|
||||||
server_admin_id
|
server_admin_id
|
||||||
);
|
);
|
||||||
@ -513,7 +513,6 @@ bool Database::CreateWorldRegistration(
|
|||||||
server_short_name
|
server_short_name
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user