diff options
author | badlop <badlop@ono.com> | 2014-01-23 18:56:18 +0400 |
---|---|---|
committer | badlop <badlop@ono.com> | 2014-01-23 18:56:18 +0400 |
commit | 565b8bf7e69c77d6072cfd31fe0b166385d12bb9 (patch) | |
tree | 4ff610f00cf3b2fd3fa7fd032f130b7d801dad44 | |
parent | 9422164ddab5d8f0f82679ee2d527503b5a35823 (diff) | |
parent | 5ccc6db0933c9cc82a9f1b7a739f24d6f5d530cf (diff) |
Merge pull request #134 from mrjameshamilton/patch-1
Fixed parameter order in call to restore_room/3
-rw-r--r-- | src/mod_muc.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_muc.erl b/src/mod_muc.erl index b8d6876b0..7934e6f95 100644 --- a/src/mod_muc.erl +++ b/src/mod_muc.erl @@ -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, |