From 300cdff07f23bc497ab1e357e3e860ea4f1ff5ed Mon Sep 17 00:00:00 2001 From: Benau Date: Tue, 11 Sep 2018 16:04:10 +0800 Subject: [PATCH] Disable showing dialog in server for news --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 2c05d6dc3..558a2c08b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2098,7 +2098,7 @@ int main(int argc, char *argv[] ) // If an important news message exists it is shown in a popup dialog. const core::stringw important_message = NewsManager::get()->getImportantMessage(); - if(important_message!="") + if(important_message!="" && !NetworkConfig::get()->isServer()) { new MessageDialog(important_message, MessageDialog::MESSAGE_DIALOG_OK,