diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-10-16 19:34:06 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-10-16 19:34:06 -0300 |
commit | 979164a8d796c27b1db34376fc380b3a851369f8 (patch) | |
tree | 8079f606b0d8146a4988ea20039dc02646ac64d1 /npc/commands | |
parent | c60dc31c74313d2de85bf88b7edb17d6f75d2fff (diff) | |
download | serverdata-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.txt | 1 |
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; |