summaryrefslogtreecommitdiff
path: root/protocols/ICQ-WIM/src/proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-01-23 13:16:35 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-01-23 13:16:35 +0300
commitf0e5f631450925938fba4d50e1d6f01d85adc712 (patch)
tree0b152c7a34538701a6e4beade751f4c197890367 /protocols/ICQ-WIM/src/proto.cpp
parentf5980308df254aa17a9f5d94a980fb888b6c193f (diff)
ICQ-WIM:
- fixes #1716 (ICQ10: add to account manager "register or login by phone number" link) - fixes #1744 (ICQ10: pressing OK in settings rewrites registration settings)
Diffstat (limited to 'protocols/ICQ-WIM/src/proto.cpp')
-rw-r--r--protocols/ICQ-WIM/src/proto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/ICQ-WIM/src/proto.cpp b/protocols/ICQ-WIM/src/proto.cpp
index 90d1259fdd..ed713f3983 100644
--- a/protocols/ICQ-WIM/src/proto.cpp
+++ b/protocols/ICQ-WIM/src/proto.cpp
@@ -408,7 +408,7 @@ int CIcqProto::SetStatus(int iNewStatus)
return 0;
}
- if (!getByte("PhoneReg") && mir_wstrlen(m_szPassword) == 0) {
+ if (!getByte(DB_KEY_PHONEREG) && mir_wstrlen(m_szPassword) == 0) {
debugLogA("Thread ended, password is not configured");
ConnectionFailed(LOGINERR_BADUSERID);
return 0;