From 4f4129d52df7ae37f4e65c3dfae7d08728d3e741 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Sun, 8 Mar 2009 01:07:29 +0500 Subject: Added core.objectmanager --- plugins/mod_xmlrpc.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins') 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); -- cgit v1.2.3