summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-10-16 19:34:06 -0300
committerJesusaves <cpntb1@ymail.com>2018-10-16 19:34:06 -0300
commit979164a8d796c27b1db34376fc380b3a851369f8 (patch)
tree8079f606b0d8146a4988ea20039dc02646ac64d1 /npc/commands
parentc60dc31c74313d2de85bf88b7edb17d6f75d2fff (diff)
downloadserverdata-979164a8d796c27b1db34376fc380b3a851369f8.tar.gz
serverdata-979164a8d796c27b1db34376fc380b3a851369f8.tar.bz2
serverdata-979164a8d796c27b1db34376fc380b3a851369f8.tar.xz
serverdata-979164a8d796c27b1db34376fc380b3a851369f8.zip
Safety
Diffstat (limited to 'npc/commands')
-rw-r--r--npc/commands/discord.txt1
1 files changed, 1 insertions, 0 deletions
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;