aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_xmlrpc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mod_xmlrpc.lua')
-rw-r--r--plugins/mod_xmlrpc.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/mod_xmlrpc.lua b/plugins/mod_xmlrpc.lua
index 6fdfe8be..8174462a 100644
--- a/plugins/mod_xmlrpc.lua
+++ b/plugins/mod_xmlrpc.lua
@@ -60,11 +60,12 @@ local function parse_xml(xml)
return stanza.tags[1];
end
-local function get_method(method)
+--[[local function get_method(method)
return function(...)
return {method = method; args = {...}};
end
-end
+end]]
+local get_method = require "core.objectmanager".get_object;
local function handle_xmlrpc_request(method, args)
method = get_method(method);