aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/muc')
-rw-r--r--plugins/muc/mod_muc.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua
index f13a6ab3..3cdc5d87 100644
--- a/plugins/muc/mod_muc.lua
+++ b/plugins/muc/mod_muc.lua
@@ -222,12 +222,12 @@ function get_room_from_jid(room_jid)
return restore_room(room_jid);
end
-function create_room(room_jid)
+function create_room(room_jid, config)
local exists = get_room_from_jid(room_jid);
if exists then
return nil, "room-exists";
end
- local room = muclib.new_room(room_jid);
+ local room = muclib.new_room(room_jid, config);
module:fire_event("muc-room-created", {
room = room;
});