From 979164a8d796c27b1db34376fc380b3a851369f8 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 16 Oct 2018 19:34:06 -0300 Subject: Safety --- npc/commands/discord.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'npc/commands/discord.txt') diff --git a/npc/commands/discord.txt b/npc/commands/discord.txt index b5ab69fef..f854e23b0 100644 --- a/npc/commands/discord.txt +++ b/npc/commands/discord.txt @@ -38,6 +38,7 @@ OnCall: mesc l("Please insert your Discord ID, on the following format: "), 1; mesc l("Usename#0000"), 2; input .@discord$; + .@discord$=escape_sql(.@discord$); mes ""; query_sql("UPDATE `discord` SET `discord_id` = '"+.@discord$+"' WHERE `account_id` == "+getcharid(3)); break; -- cgit v1.2.3-60-g2f50