summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_thread.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-12-03 17:11:34 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-12-03 17:11:38 +0300
commit19b9c44e888b755d16fc45cf40bf3f8e18eed572 (patch)
treeea847be57d2ebe194e393fa5fe5e1843fbfb2851 /protocols/JabberG/src/jabber_thread.cpp
parent30f02ec883f4265b073b3ac3a3ec1650368684f0 (diff)
unneeded check removed
Diffstat (limited to 'protocols/JabberG/src/jabber_thread.cpp')
-rw-r--r--protocols/JabberG/src/jabber_thread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_thread.cpp b/protocols/JabberG/src/jabber_thread.cpp
index 77a702aec6..baa5120188 100644
--- a/protocols/JabberG/src/jabber_thread.cpp
+++ b/protocols/JabberG/src/jabber_thread.cpp
@@ -833,7 +833,7 @@ void CJabberProto::OnProcessSuccess(const TiXmlElement *node, ThreadData *info)
return;
}
- if (!pszFinal || !m_arAuthMechs[0].validateLogin(pszFinal)) {
+ if (!m_arAuthMechs[0].validateLogin(pszFinal)) {
info->send("</stream:stream>");
return;
}