From 1746405ed4e9237a2e3f3ee4ed3ce23a826b243a Mon Sep 17 00:00:00 2001
From: "Dmitriy A. Gerasimov" <dmitriy.gerasimov@demlabs.net>
Date: Thu, 7 May 2020 15:48:01 +0700
Subject: [PATCH] [-] Commented out com_news

---
 modules/net/dap_chain_node_cli.c             | 4 ++--
 modules/net/include/dap_chain_node_cli_cmd.h | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/net/dap_chain_node_cli.c b/modules/net/dap_chain_node_cli.c
index abd8b8ccc3..a702cfa8d4 100644
--- a/modules/net/dap_chain_node_cli.c
+++ b/modules/net/dap_chain_node_cli.c
@@ -1013,8 +1013,8 @@ int dap_chain_node_cli_init(dap_config_t * g_config)
 
 #ifndef _WIN32
     // News
-    dap_chain_node_cli_cmd_item_create("news", com_news, NULL, "Add News for VPN clients. Language code is a text code like \"en\", \"ru\", \"fr\"",
-            "news [-text <news text> | -file <filename with news>] -lang <language code> \n");
+    //dap_chain_node_cli_cmd_item_create("news", com_news, NULL, "Add News for VPN clients. Language code is a text code like \"en\", \"ru\", \"fr\"",
+    //        "news [-text <news text> | -file <filename with news>] -lang <language code> \n");
 
 #endif
     // create thread for waiting of clients
diff --git a/modules/net/include/dap_chain_node_cli_cmd.h b/modules/net/include/dap_chain_node_cli_cmd.h
index 9ceb6f9efd..ed35ce7a41 100644
--- a/modules/net/include/dap_chain_node_cli_cmd.h
+++ b/modules/net/include/dap_chain_node_cli_cmd.h
@@ -135,7 +135,7 @@ int com_exit(int argc, char ** argv, void *arg_func, char **str_reply);
 
 #ifndef _WIN32
 // Add News for VPN clients
-int com_news(int a_argc, char ** a_argv, void *a_arg_func, char **a_str_reply);
+//int com_news(int a_argc, char ** a_argv, void *a_arg_func, char **a_str_reply);
 #endif
 
 // vpn_client command
-- 
GitLab