aboutsummaryrefslogtreecommitdiff
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:02:00 +0200
commit804549415d1175875cf753eb81294836316adffe (patch)
tree54caca3e2e4b610840b59944995e4daabc2b8505 /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 3a1f168e4..8df091e27 100644
--- a/src/mod_muc/mod_muc_log.erl
+++ b/src/mod_muc/mod_muc_log.erl
@@ -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) ->