aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/mod_muc.lua
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2014-03-18 18:56:26 -0400
committerdaurnimator <quae@daurnimator.com>2014-03-18 18:56:26 -0400
commite3b729b9780b64e3efcd2a8163d3fcc8121daf14 (patch)
treedfdebf7c6997d9721db1b34d8abaf434028b447a /plugins/muc/mod_muc.lua
parentfdee07a8095daec344aead18d6d8b6f9622573ab (diff)
downloadprosody-e3b729b9780b64e3efcd2a8163d3fcc8121daf14.tar.gz
prosody-e3b729b9780b64e3efcd2a8163d3fcc8121daf14.zip
plugins/muc/mod_muc: host sessions have a .send these days
Diffstat (limited to 'plugins/muc/mod_muc.lua')
-rw-r--r--plugins/muc/mod_muc.lua7
1 files changed, 0 insertions, 7 deletions
diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua
index 9adec74e..5f4b0c62 100644
--- a/plugins/muc/mod_muc.lua
+++ b/plugins/muc/mod_muc.lua
@@ -213,13 +213,6 @@ for event_name, method in pairs {
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;