Kind of fixed irc termination issue (cannot completely be fixed without modifying libircclient).

This commit is contained in:
lotodore
2007-09-29 20:20:25 +00:00
parent aaf4106c20
commit fe352cb2dc
+4 -1
View File
@@ -216,7 +216,10 @@ IrcThread::Main()
if (s) if (s)
{ {
if (irc_connect(s, context.serverAddress.c_str(), context.serverPort, 0, context.nick.c_str(), 0, 0) == 0) if (irc_connect(s, context.serverAddress.c_str(), context.serverPort, 0, context.nick.c_str(), 0, 0) == 0)
irc_run(s); {
if (!ShouldTerminate())
irc_run(s);
}
} }
} }