25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-26 16:26:24 +01:00

Fix mod_muc_log crash when first log entry is room being destroyed (EJAB-1499)

This commit is contained in:
Badlop 2011-09-23 17:00:50 +02:00
parent fa08db7091
commit 804549415d

View File

@ -959,7 +959,7 @@ get_room_state(RoomName, MucService) ->
RoomPid = R#muc_online_room.pid, RoomPid = R#muc_online_room.pid,
get_room_state(RoomPid); get_room_state(RoomPid);
[] -> [] ->
room_not_found #state{}
end. end.
get_room_state(RoomPid) -> get_room_state(RoomPid) ->