plugins/mod_xmlrpc.lua

changeset 889
bb959588bbc4
parent 880
ff4a08d73772
child 892
2128891180b7
--- 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);

mercurial