diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-01-04 21:34:25 -0200 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-01-04 21:34:25 -0200 |
commit | 1786757d489a91caf62593be4a3ba9dafca6676c (patch) | |
tree | a1a4c8eb391be2a9082c4b09d68d17f6d5d60ae5 /npc/functions | |
parent | 373af1ee3a0aa216d4baf9e1a1efea756ec02500 (diff) | |
download | serverdata-1786757d489a91caf62593be4a3ba9dafca6676c.tar.gz serverdata-1786757d489a91caf62593be4a3ba9dafca6676c.tar.bz2 serverdata-1786757d489a91caf62593be4a3ba9dafca6676c.tar.xz serverdata-1786757d489a91caf62593be4a3ba9dafca6676c.zip |
SQL Error
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/util.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt index a97fe3521..05482b2c6 100644 --- a/npc/functions/util.txt +++ b/npc/functions/util.txt @@ -28,8 +28,8 @@ function script DelAccRegFromEveryPlayer { if (getarg(0, "error") == "error") return; - query_sql("DELETE FROM `acc_reg_num_db` WHERE `key`="+getarg(0)); - query_sql("DELETE FROM `acc_reg_str_db` WHERE `key`="+getarg(0)); + query_sql("DELETE FROM `acc_reg_num_db` WHERE `key`='"+getarg(0)+"'"); + query_sql("DELETE FROM `acc_reg_str_db` WHERE `key`='"+getarg(0)+"'"); return; } |