diff options
Diffstat (limited to 'protocols/JabberG/src/jabber_thread.cpp')
-rwxr-xr-x | protocols/JabberG/src/jabber_thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_thread.cpp b/protocols/JabberG/src/jabber_thread.cpp index 32eb344178..5ba36d7907 100755 --- a/protocols/JabberG/src/jabber_thread.cpp +++ b/protocols/JabberG/src/jabber_thread.cpp @@ -836,7 +836,7 @@ void CJabberProto::OnProcessSuccess(const TiXmlElement *node, ThreadData *info) debugLogA("Success: Logged-in.");
ptrA szNick(getUStringA("Nick"));
- if (szNick == nullptr)
+ if (!mir_strlen(szNick))
setUString("Nick", info->conn.username);
xmlStreamInitialize("after successful sasl");
|