aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-03-08 01:07:29 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-03-08 01:07:29 +0500
commit4f4129d52df7ae37f4e65c3dfae7d08728d3e741 (patch)
tree0535e4b6b7d426498f61794669d922188d603b49 /plugins
parentb2b9301c9ecdf9903c85a3e686ca186ecd73113c (diff)
downloadprosody-4f4129d52df7ae37f4e65c3dfae7d08728d3e741.tar.gz
prosody-4f4129d52df7ae37f4e65c3dfae7d08728d3e741.zip
Added core.objectmanager
Diffstat (limited to 'plugins')
-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);