diff options
-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; |