From 44987479a521e6ad56d5c7492451af72ebc5b961 Mon Sep 17 00:00:00 2001 From: Maxim Ignatenko Date: Sun, 24 Jul 2011 14:57:13 +0300 Subject: [PATCH] Fix exception handling in is_voice_request/1 --- src/mod_muc/mod_muc_room.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod_muc/mod_muc_room.erl b/src/mod_muc/mod_muc_room.erl index 2a6f7a13e..5f9edfd2f 100644 --- a/src/mod_muc/mod_muc_room.erl +++ b/src/mod_muc/mod_muc_room.erl @@ -3647,7 +3647,7 @@ is_voice_request(Els) -> end end catch - _ -> + error: _ -> false end. @@ -3671,7 +3671,7 @@ check_voice_request_fields({xmlelement, "field", _, Els} = Elem, Acc) -> end end catch - _ -> + error: _ -> false end.