From 464ec7cb66f541ba5ddb37f77e567c5fda4b76cd Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 28 Jul 2018 22:23:20 -0300 Subject: Try to fix strange bug --- npc/commands/ucp.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/commands/ucp.txt') diff --git a/npc/commands/ucp.txt b/npc/commands/ucp.txt index f632d8a1e..31dbafd79 100644 --- a/npc/commands/ucp.txt +++ b/npc/commands/ucp.txt @@ -22,7 +22,7 @@ function script UserCtrlPanel { case 3: if (!validatepin()) break; - if (!@email$) { + if (!@lgc) { query_sql("SELECT email,logincount,last_ip FROM `login` WHERE account_id="+getcharid(3)+"' LIMIT 2", .@email$, .@lgc, .@ip$); @email$=.@email$; @lgc=.@lgc; -- cgit v1.2.3-70-g09d2