diff options
author | Waqas Hussain <waqas20@gmail.com> | 2009-03-08 01:07:29 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2009-03-08 01:07:29 +0500 |
commit | 4f4129d52df7ae37f4e65c3dfae7d08728d3e741 (patch) | |
tree | 0535e4b6b7d426498f61794669d922188d603b49 /plugins/mod_xmlrpc.lua | |
parent | b2b9301c9ecdf9903c85a3e686ca186ecd73113c (diff) | |
download | prosody-4f4129d52df7ae37f4e65c3dfae7d08728d3e741.tar.gz prosody-4f4129d52df7ae37f4e65c3dfae7d08728d3e741.zip |
Added core.objectmanager
Diffstat (limited to 'plugins/mod_xmlrpc.lua')
-rw-r--r-- | plugins/mod_xmlrpc.lua | 5 |
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); |