summaryrefslogtreecommitdiff
path: root/protocols/ICQ-WIM/src/poll.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/ICQ-WIM/src/poll.cpp')
-rw-r--r--protocols/ICQ-WIM/src/poll.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/ICQ-WIM/src/poll.cpp b/protocols/ICQ-WIM/src/poll.cpp
index 6cd4575e13..db994cd0cf 100644
--- a/protocols/ICQ-WIM/src/poll.cpp
+++ b/protocols/ICQ-WIM/src/poll.cpp
@@ -281,7 +281,7 @@ void __cdecl CIcqProto::PollThread(void*)
debugLogA("Polling thread started");
m_bFirstBos = true;
- while (m_bOnline) {
+ while (m_bOnline && !m_fetchBaseURL.IsEmpty()) {
CMStringA szUrl = m_fetchBaseURL;
if (m_bFirstBos)
szUrl.Append("&first=1");