diff options
Diffstat (limited to 'protocols/IRCG/src/services.cpp')
-rw-r--r-- | protocols/IRCG/src/services.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/IRCG/src/services.cpp b/protocols/IRCG/src/services.cpp index 19909dfc4b..d147b48b2e 100644 --- a/protocols/IRCG/src/services.cpp +++ b/protocols/IRCG/src/services.cpp @@ -976,6 +976,8 @@ int __cdecl CIrcProto::OnDbSettingChanged(WPARAM hContact, LPARAM lParam) }
void __cdecl CIrcProto::ConnectServerThread(void*)
{
+ Thread_SetName("IRC: ConnectServer");
+
InterlockedIncrement((long *)&m_bConnectThreadRunning);
InterlockedIncrement((long *)&m_bConnectRequested);
while (!Miranda_Terminated() && m_bConnectRequested > 0) {
@@ -1016,6 +1018,8 @@ void __cdecl CIrcProto::ConnectServerThread(void*) void __cdecl CIrcProto::DisconnectServerThread(void*)
{
+ Thread_SetName("IRC: DisconnectServer");
+
mir_cslock lck(cs);
if (IsConnected())
Disconnect();
|