diff --git a/src/server.cpp b/src/server.cpp index c20ebfbe..c51baae2 100755 --- a/src/server.cpp +++ b/src/server.cpp @@ -288,6 +288,10 @@ CServer::CServer ( const QString& strLoggingFileName, SIGNAL ( CLRegisterServerReceived ( CHostAddress, CServerCoreInfo ) ), this, SLOT ( OnCLRegisterServerReceived ( CHostAddress, CServerCoreInfo ) ) ); + QObject::connect ( &ConnLessProtocol, + SIGNAL ( CLReqServerList ( CHostAddress ) ), + this, SLOT ( OnCLReqServerList ( CHostAddress ) ) ); + QObject::connect ( &ConnLessProtocol, SIGNAL ( CLSendEmptyMes ( CHostAddress ) ), this, SLOT ( OnCLSendEmptyMes ( CHostAddress ) ) ); diff --git a/src/server.h b/src/server.h index e371d4bb..b037bca7 100755 --- a/src/server.h +++ b/src/server.h @@ -196,6 +196,9 @@ public slots: void OnCLSendEmptyMes ( CHostAddress TargetInetAddr ) { ConnLessProtocol.CreateCLEmptyMes ( TargetInetAddr ); } + void OnCLReqServerList ( CHostAddress InetAddr ) + { ServerListManager.QueryServerList ( InetAddr ); } + void OnCLRegisterServerReceived ( CHostAddress InetAddr, CServerCoreInfo ServerInfo ) {