1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-06 03:50:15 +02:00

Fixed wrong parameter values in mod_muc_admin

Corrected wrong parameter values passing to register_online_room(Room, Host, Pid) of mod_muc
This commit is contained in:
Edward Chow 2017-03-18 03:07:23 +08:00 committed by GitHub
parent 91245141e9
commit c5af421cee

View file

@ -484,7 +484,7 @@ create_room_with_opts(Name1, Host1, ServerHost, CustomRoomOpts) ->
HistorySize,
RoomShaper,
RoomOpts),
mod_muc:register_online_room(Host, Name, Pid),
mod_muc:register_online_room(Name, Host, Pid),
ok;
{ok, _} ->
error