summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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$;