diff options
Diffstat (limited to 'npc')
-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; } |