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
1 changed files with 1 additions and 1 deletions

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