Publish service on local network depending on config

This commit is contained in:
Amandeep Singh
2014-02-18 19:04:47 +05:30
parent ad79d51e8b
commit 85e13b7908

View File

@@ -86,7 +86,8 @@ bool InvitationsRfbServer::allowUnattendedAccess() const
bool InvitationsRfbServer::start()
{
if(RfbServer::start()) {
m_publicService->publishAsync();
if(KrfbConfig::publishService())
m_publicService->publishAsync();
return true;
}
return false;