Comparison

plugins/muc/mod_muc.lua @ 7361:3409773ca19a

Merge with Link Mauve
author Kim Alvefur <zash@zash.se>
date Sun, 17 Apr 2016 22:28:48 +0200
parent 7360:7a37fade5380
parent 7359:a5a080c12c96
child 7367:2aef5e8b69e9
comparison
equal deleted inserted replaced
7360:7a37fade5380 7361:3409773ca19a
5 -- This project is MIT/X11 licensed. Please see the 5 -- This project is MIT/X11 licensed. Please see the
6 -- COPYING file in the source package for more information. 6 -- COPYING file in the source package for more information.
7 -- 7 --
8 8
9 if module:get_host_type() ~= "component" then 9 if module:get_host_type() ~= "component" then
10 error("MUC should be loaded as a component, please see http://prosody.im/doc/components", 0); 10 error("MUC should be loaded as a component, please see https://prosody.im/doc/components", 0);
11 end 11 end
12 12
13 local muclib = module:require "muc"; 13 local muclib = module:require "muc";
14 room_mt = muclib.room_mt; -- Yes, global. 14 room_mt = muclib.room_mt; -- Yes, global.
15 15