# HG changeset patch # User Kim Alvefur # Date 1528238142 -7200 # Node ID 9182398c64b9534d76c1a65ce8a3143e7eed770b # Parent 9e72e63819dc2c0337341675804d1103f9f09517 MUC: Track rooms created via internal public API Fixes muc:create() in the telnet console diff -r 9e72e63819dc -r 9182398c64b9 plugins/muc/mod_muc.lua --- a/plugins/muc/mod_muc.lua Sat Apr 14 16:14:55 2018 +0200 +++ b/plugins/muc/mod_muc.lua Wed Jun 06 00:35:42 2018 +0200 @@ -231,7 +231,7 @@ module:fire_event("muc-room-created", { room = room; }); - return room; + return track_room(room); end function each_room(local_only)