summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-01-04 21:34:25 -0200
committerJesusaves <cpntb1@ymail.com>2019-01-04 21:34:25 -0200
commit1786757d489a91caf62593be4a3ba9dafca6676c (patch)
treea1a4c8eb391be2a9082c4b09d68d17f6d5d60ae5 /npc
parent373af1ee3a0aa216d4baf9e1a1efea756ec02500 (diff)
downloadserverdata-1786757d489a91caf62593be4a3ba9dafca6676c.tar.gz
serverdata-1786757d489a91caf62593be4a3ba9dafca6676c.tar.bz2
serverdata-1786757d489a91caf62593be4a3ba9dafca6676c.tar.xz
serverdata-1786757d489a91caf62593be4a3ba9dafca6676c.zip
SQL Error
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/util.txt4
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;
}