aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/password.lib.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2014-08-05 09:55:08 +0100
committerMatthew Wild <mwild1@gmail.com>2014-08-05 09:55:08 +0100
commitd6932207f3577d82e93f4bbbec27449ac38f896f (patch)
tree3c468d13e1922e7470b9b18745050e33d92bddc3 /plugins/muc/password.lib.lua
parente4e4477db09bf26c7d9e476035fe747a8878c002 (diff)
downloadprosody-d6932207f3577d82e93f4bbbec27449ac38f896f.tar.gz
prosody-d6932207f3577d82e93f4bbbec27449ac38f896f.zip
mod_muc: Import util.stanza into the config handler modules that need it. Fixes #432.
Diffstat (limited to 'plugins/muc/password.lib.lua')
-rw-r--r--plugins/muc/password.lib.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/muc/password.lib.lua b/plugins/muc/password.lib.lua
index d169790a..48486d73 100644
--- a/plugins/muc/password.lib.lua
+++ b/plugins/muc/password.lib.lua
@@ -7,6 +7,8 @@
-- COPYING file in the source package for more information.
--
+local st = require "util.stanza";
+
local function get_password(room)
return room._data.password;
end