Software /
code /
prosody
Diff
plugins/mod_xmlrpc.lua @ 889:bb959588bbc4
Added core.objectmanager
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sun, 08 Mar 2009 01:07:29 +0500 |
parent | 880:ff4a08d73772 |
child | 892:2128891180b7 |
line wrap: on
line diff
--- a/plugins/mod_xmlrpc.lua Sun Mar 08 01:06:37 2009 +0500 +++ b/plugins/mod_xmlrpc.lua Sun Mar 08 01:07:29 2009 +0500 @@ -60,11 +60,12 @@ 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);