summaryrefslogtreecommitdiff
path: root/npc/commands/ucp.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-05-06 23:54:05 -0300
committerJesusaves <cpntb1@ymail.com>2022-05-06 23:54:05 -0300
commitdd443d4a8661637e4478f4c4aa11e3b57910e71c (patch)
treeee697e21cb0511ea69076bf088594fd3638d0a75 /npc/commands/ucp.txt
parentcbb7c81629626e6f076a2f23f1c3a63345db5f12 (diff)
downloadserverdata-dd443d4a8661637e4478f4c4aa11e3b57910e71c.tar.gz
serverdata-dd443d4a8661637e4478f4c4aa11e3b57910e71c.tar.bz2
serverdata-dd443d4a8661637e4478f4c4aa11e3b57910e71c.tar.xz
serverdata-dd443d4a8661637e4478f4c4aa11e3b57910e71c.zip
UCP - If PIN is not confirmed, show prompt before cleaning screen
Diffstat (limited to 'npc/commands/ucp.txt')
-rw-r--r--npc/commands/ucp.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/npc/commands/ucp.txt b/npc/commands/ucp.txt
index d64449c5e..c4cf2a054 100644
--- a/npc/commands/ucp.txt
+++ b/npc/commands/ucp.txt
@@ -66,8 +66,10 @@ function script UserCtrlPanel {
next;
break;
case 4:
- if (!validatepin())
+ if (!validatepin()) {
+ next;
break;
+ }
if (!@lgc || @query) {
query_sql("SELECT email,logincount,last_ip FROM `login` WHERE account_id="+getcharid(3)+" LIMIT 1", .@email$, .@lgc, .@ip$);
@email$=.@email$;