aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/command_server.cpp
diff options
context:
space:
mode:
authorThomas Winget <tewinget@gmail.com>2015-02-05 04:11:20 -0500
committerThomas Winget <tewinget@gmail.com>2015-02-24 00:44:36 -0500
commit96cbecffd7235c1cf7ff5717fabe2d94d3192736 (patch)
tree3d378804e59a0038f10baaaff1b2ccf8a356006d /src/daemon/command_server.cpp
parentDaemonize changes pulled in -- daemon builds (diff)
downloadmonero-96cbecffd7235c1cf7ff5717fabe2d94d3192736.tar.xz
RPC calls for background daemon added in
The RPC calls the daemon executable uses to talk to the running daemon instance have mostly been added back in. Rate limiting has not been added in upstream, but is on its way in a separate effort, so those calls are still NOPed out.
Diffstat (limited to '')
-rw-r--r--src/daemon/command_server.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/daemon/command_server.cpp b/src/daemon/command_server.cpp
index ed92fd348..bedceffed 100644
--- a/src/daemon/command_server.cpp
+++ b/src/daemon/command_server.cpp
@@ -155,7 +155,12 @@ bool t_command_server::process_command_str(const std::string& cmd)
bool t_command_server::process_command_vec(const std::vector<std::string>& cmd)
{
- return m_command_lookup.process_command_vec(cmd);
+ bool result = m_command_lookup.process_command_vec(cmd);
+ if (!result)
+ {
+ help(std::vector<std::string>());
+ }
+ return result;
}
bool t_command_server::help(const std::vector<std::string>& args)