summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2011-09-23 17:00:50 +0200
committerBadlop <badlop@process-one.net>2011-09-23 17:00:50 +0200
commit32ff6b56ebbb937d38f238c64ca2b6311d254273 (patch)
treebdd70b7207a0ca6345c735b43a567fe530b897ca /src
parentfix broken PEP after EJAB-1498 (thanks to Karim Gemayel) (diff)
Fix mod_muc_log crash when first log entry is room being destroyed (EJAB-1499)
Diffstat (limited to 'src')
-rw-r--r--src/mod_muc/mod_muc_log.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_muc/mod_muc_log.erl b/src/mod_muc/mod_muc_log.erl
index 40f59c3e..7560016a 100644
--- a/src/mod_muc/mod_muc_log.erl
+++ b/src/mod_muc/mod_muc_log.erl
@@ -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) ->