]> granicus.if.org Git - ejabberd/commitdiff
Fixed parameter order in call to restore_room/3
authormrjameshamilton <mrjameshamilton@gmail.com>
Thu, 23 Jan 2014 14:39:52 +0000 (14:39 +0000)
committermrjameshamilton <mrjameshamilton@gmail.com>
Thu, 23 Jan 2014 14:39:52 +0000 (14:39 +0000)
src/mod_muc.erl

index b8d6876b0f5e02935f7159f0554458549cfc2688..7934e6f959d104362ed42cfe847aae984a07d969 100644 (file)
@@ -657,7 +657,7 @@ load_permanent_rooms(Host, ServerHost, Access, HistorySize, RoomShaper) ->
 start_new_room(Host, ServerHost, Access, Room,
               HistorySize, RoomShaper, From,
               Nick, DefRoomOpts) ->
-    case restore_room(ServerHost, Room, Host) of
+    case restore_room(ServerHost, Host, Room) of
         error ->
            ?DEBUG("MUC: open new room '~s'~n", [Room]),
            mod_muc_room:start(Host, ServerHost, Access,