projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net.dns: (for some reason this commit didn't pull over from 0.5) Remove hard-coded...
[prosody.git]
/
plugins
/
mod_xmlrpc.lua
diff --git
a/plugins/mod_xmlrpc.lua
b/plugins/mod_xmlrpc.lua
index 05c0b8b04b4760e0bfff31c6f4f936b9bc361649..7165386ae3fec8516ac53fccfe80feb220675d60 100644
(file)
--- a/
plugins/mod_xmlrpc.lua
+++ b/
plugins/mod_xmlrpc.lua
@@
-83,7
+83,7
@@
local function handle_xmlrpc_request(jid, method, args)
end
return create_error_response(500, "Error in creating response: "..result);
end
end
return create_error_response(500, "Error in creating response: "..result);
end
- return create_error_response(0,
(result and result:gmatch("[^:]*:[^:]*: (.*)")()) or "nil"
);
+ return create_error_response(0,
tostring(result):gsub("^[^:]+:%d+: ", "")
);
end
local function handle_xmpp_request(origin, stanza)
end
local function handle_xmpp_request(origin, stanza)