summaryrefslogtreecommitdiff
path: root/npc/commands/ucp.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-28 22:23:20 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-28 22:23:20 -0300
commit464ec7cb66f541ba5ddb37f77e567c5fda4b76cd (patch)
treeb306f62843f6fce3ea1d6ef4d3b90bc766b794e9 /npc/commands/ucp.txt
parenta4bc2bc0b74d0b7d42e1b44fedba940a7b1ece46 (diff)
downloadserverdata-464ec7cb66f541ba5ddb37f77e567c5fda4b76cd.tar.gz
serverdata-464ec7cb66f541ba5ddb37f77e567c5fda4b76cd.tar.bz2
serverdata-464ec7cb66f541ba5ddb37f77e567c5fda4b76cd.tar.xz
serverdata-464ec7cb66f541ba5ddb37f77e567c5fda4b76cd.zip
Try to fix strange bug
Diffstat (limited to 'npc/commands/ucp.txt')
-rw-r--r--npc/commands/ucp.txt2
1 files changed, 1 insertions, 1 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;