diff --git a/src/mod_muc_room.erl b/src/mod_muc_room.erl index a7b33bb31..b4148b33f 100644 --- a/src/mod_muc_room.erl +++ b/src/mod_muc_room.erl @@ -3288,7 +3288,7 @@ unsubscribe_from_room(JID, SD) -> ok; true -> case mod_muc:unhibernate_room(SD#state.server_host, SD#state.host, SD#state.room) of - {error, Reason0} -> + {error, _Reason0} -> error; {ok, Pid} -> _UnsubPid =