Software /
code /
prosody
Comparison
plugins/muc/password.lib.lua @ 6329:6b3eb1611587
mod_muc: Import util.stanza into the config handler modules that need it. Fixes #432.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 05 Aug 2014 09:55:08 +0100 |
parent | 6208:d724289a5226 |
child | 6991:84e01dbb739e |
comparison
equal
deleted
inserted
replaced
6328:93fb28851d9e | 6329:6b3eb1611587 |
---|---|
4 -- Copyright (C) 2014 Daurnimator | 4 -- Copyright (C) 2014 Daurnimator |
5 -- | 5 -- |
6 -- This project is MIT/X11 licensed. Please see the | 6 -- This project is MIT/X11 licensed. Please see the |
7 -- COPYING file in the source package for more information. | 7 -- COPYING file in the source package for more information. |
8 -- | 8 -- |
9 | |
10 local st = require "util.stanza"; | |
9 | 11 |
10 local function get_password(room) | 12 local function get_password(room) |
11 return room._data.password; | 13 return room._data.password; |
12 end | 14 end |
13 | 15 |