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

View File

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