diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-07-28 22:23:20 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-07-28 22:23:20 -0300 |
commit | 464ec7cb66f541ba5ddb37f77e567c5fda4b76cd (patch) | |
tree | b306f62843f6fce3ea1d6ef4d3b90bc766b794e9 /npc | |
parent | a4bc2bc0b74d0b7d42e1b44fedba940a7b1ece46 (diff) | |
download | serverdata-464ec7cb66f541ba5ddb37f77e567c5fda4b76cd.tar.gz serverdata-464ec7cb66f541ba5ddb37f77e567c5fda4b76cd.tar.bz2 serverdata-464ec7cb66f541ba5ddb37f77e567c5fda4b76cd.tar.xz serverdata-464ec7cb66f541ba5ddb37f77e567c5fda4b76cd.zip |
Try to fix strange bug
Diffstat (limited to 'npc')
-rw-r--r-- | npc/commands/ucp.txt | 2 | ||||
-rw-r--r-- | npc/functions/main.txt | 2 |
2 files changed, 2 insertions, 2 deletions
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; diff --git a/npc/functions/main.txt b/npc/functions/main.txt index d290bac63..0e4abb29c 100644 --- a/npc/functions/main.txt +++ b/npc/functions/main.txt @@ -272,7 +272,7 @@ function script validatepin { } mesc l("Thanks, @@. We just wanted to be sure it was you.", .@value$[0]); mes ""; - return 1; + return TRUE; } function script getquestlink { |