mirror of
https://github.com/znc/znc.git
synced 2026-07-04 17:01:23 +02:00
bouncedcc: Fix test for "Connected" state
This commit is contained in:
@@ -117,7 +117,7 @@ public:
|
||||
CString sState = "Waiting";
|
||||
if ((pSock->IsConnected()) || (pSock->IsPeerConnected())) {
|
||||
sState = "Halfway";
|
||||
if ((pSock->IsPeerConnected()) && (pSock->IsPeerConnected())) {
|
||||
if ((pSock->IsConnected()) && (pSock->IsPeerConnected())) {
|
||||
sState = "Connected";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user