diff options
author | Jesusaves <cpntb1@ymail.com> | 2024-05-18 20:09:50 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2024-05-18 20:09:50 -0300 |
commit | 88042376102429855238486e167ccea83b408b3b (patch) | |
tree | cf9de389d67e5832f1b9ce3ef8cb284e31f7fdbb | |
parent | 8a5ef23a9ae87723b6aae496f1bd2f410cb3644e (diff) | |
download | serverdata-88042376102429855238486e167ccea83b408b3b.tar.gz serverdata-88042376102429855238486e167ccea83b408b3b.tar.bz2 serverdata-88042376102429855238486e167ccea83b408b3b.tar.xz serverdata-88042376102429855238486e167ccea83b408b3b.zip |
Use wildcards when cleaning captcha variables
-rw-r--r-- | npc/003-3/malindou.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt index ea51ccdf9..e18d048fe 100644 --- a/npc/003-3/malindou.txt +++ b/npc/003-3/malindou.txt @@ -1151,7 +1151,9 @@ OnInterIfInitOnce: query_sql("DELETE FROM `char_reg_num_db` WHERE `key`='RNGTREASURE_DATE'"); query_sql("DELETE FROM `char_reg_num_db` WHERE `key`='PVP_COOLDOWN'"); query_sql("DELETE FROM `char_reg_num_db` WHERE `key`='CHAREG_CLEANUP'"); - query_sql("DELETE FROM `char_reg_str_db` WHERE `key`='CAPTCHA_NPC$'"); + // Some wildcard deletions + query_sql("DELETE FROM `char_reg_str_db` WHERE `key` LIKE 'CAPTCHA%'"); + query_sql("DELETE FROM `char_reg_num_db` WHERE `key` LIKE 'CAPTCHA%'"); end; // This control all PC Login events |