Software /
code /
prosody
Changeset
5376:ba9be0be4bbb
MUC: Access prosody.hosts instead of the old global hosts
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 23 Mar 2013 02:24:11 +0100 |
parents | 5375:b31ab26f9997 |
children | 5377:898454038524 |
files | plugins/muc/mod_muc.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/muc/mod_muc.lua Sat Mar 23 01:42:48 2013 +0100 +++ b/plugins/muc/mod_muc.lua Sat Mar 23 02:24:11 2013 +0100 @@ -30,7 +30,7 @@ local uuid_gen = require "util.uuid".generate; local datamanager = require "util.datamanager"; local um_is_admin = require "core.usermanager".is_admin; -local hosts = hosts; +local hosts = prosody.hosts; rooms = {}; local rooms = rooms;