CSocket: Also call on_connected for local socket connections

This commit is contained in:
Robin Burchell 2019-07-16 13:17:23 +02:00 committed by Andreas Kling
parent 14b2f90920
commit e922db68d8
Notes: sideshowbarker 2024-07-19 13:14:51 +09:00

View file

@ -92,6 +92,8 @@ bool CSocket::connect(const CSocketAddress& address)
}
m_connected = true;
if (on_connected)
on_connected();
return true;
}