aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxim Ignatenko <gelraen.ua@gmail.com>2011-07-24 14:57:13 +0300
committerMaxim Ignatenko <gelraen.ua@gmail.com>2011-09-26 11:16:27 +0300
commit44987479a521e6ad56d5c7492451af72ebc5b961 (patch)
tree3237318fab9f9521bb0d41251f6a2c4cfe674fa9 /src
parentImplemented sending voice request and fixed some bugs (diff)
Fix exception handling in is_voice_request/1
Diffstat (limited to 'src')
-rw-r--r--src/mod_muc/mod_muc_room.erl4
1 files 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.