summaryrefslogtreecommitdiff
path: root/library/RemoteClient.cpp
diff options
context:
space:
mode:
authorAlexander Gavrilov2012-03-15 14:06:50 +0400
committerAlexander Gavrilov2012-03-15 14:06:50 +0400
commit605ee9669a5cd4d2f69ca8adcbe96c9e62671b87 (patch)
tree6911bc96468e506ed7cbc3d1b8a69e9615dda0b2 /library/RemoteClient.cpp
parent87f925e72e7c6f923a595cc930728483a3f1422e (diff)
downloaddfhack-605ee9669a5cd4d2f69ca8adcbe96c9e62671b87.tar.gz
dfhack-605ee9669a5cd4d2f69ca8adcbe96c9e62671b87.tar.bz2
dfhack-605ee9669a5cd4d2f69ca8adcbe96c9e62671b87.tar.xz
Plugin-exported functions now actually work.
Diffstat (limited to 'library/RemoteClient.cpp')
-rw-r--r--library/RemoteClient.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/RemoteClient.cpp b/library/RemoteClient.cpp
index 6f284dd1..f8d3e3e7 100644
--- a/library/RemoteClient.cpp
+++ b/library/RemoteClient.cpp
@@ -215,7 +215,7 @@ bool RemoteClient::bind(color_ostream &out, RemoteFunctionBase *function,
in->set_output_msg(function->p_out_template->GetTypeName());
}
- if (bind_call.execute(out) != CR_OK)
+ if (bind_call(out) != CR_OK)
return false;
function->p_client = this;
@@ -239,7 +239,7 @@ command_result RemoteClient::run_command(color_ostream &out, const std::string &
for (size_t i = 0; i < args.size(); i++)
runcmd_call.in()->add_arguments(args[i]);
- return runcmd_call.execute(out);
+ return runcmd_call(out);
}
void RPCFunctionBase::reset(bool free)