# HG changeset patch # User daurnimator # Date 1395183386 14400 # Node ID d007b3c490788223e2cb8670e73532244fd41d9f # Parent 566aba0482b60ef6facf3abc19b343976202c30b plugins/muc/mod_muc: host sessions have a .send these days diff -r 566aba0482b6 -r d007b3c49078 plugins/muc/mod_muc.lua --- a/plugins/muc/mod_muc.lua Tue Mar 18 18:55:52 2014 -0400 +++ b/plugins/muc/mod_muc.lua Tue Mar 18 18:56:26 2014 -0400 @@ -213,13 +213,6 @@ end, -2) end - -hosts[module.host].send = function(stanza) -- FIXME do a generic fix - if stanza.attr.type == "result" or stanza.attr.type == "error" then - module:send(stanza); - else error("component.send only supports result and error stanzas at the moment"); end -end - hosts[module:get_host()].muc = { rooms = rooms }; local saved = false;