Software /
code /
prosody
Changeset
6110:d007b3c49078
plugins/muc/mod_muc: host sessions have a .send these days
author | daurnimator <quae@daurnimator.com> |
---|---|
date | Tue, 18 Mar 2014 18:56:26 -0400 |
parents | 6109:566aba0482b6 |
children | 6111:f8b94903be52 |
files | plugins/muc/mod_muc.lua |
diffstat | 1 files changed, 0 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- 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;