24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-16 22:05:29 +02: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 33c0ebb100
commit 32ff6b56eb

View File

@ -945,7 +945,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) ->