diff options
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/util.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt index e9a5b444a..a97fe3521 100644 --- a/npc/functions/util.txt +++ b/npc/functions/util.txt @@ -25,7 +25,7 @@ function script DelItemFromEveryPlayer { // WARNING, irreversible and dangerous! // DelAccRegFromEveryPlayer( KEY ) function script DelAccRegFromEveryPlayer { - if (getarg(0, -1) < 0) + if (getarg(0, "error") == "error") return; query_sql("DELETE FROM `acc_reg_num_db` WHERE `key`="+getarg(0)); |