summaryrefslogtreecommitdiff
path: root/protocols/ICQ-WIM/src/proto.cpp
diff options
context:
space:
mode:
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;