aboutsummaryrefslogtreecommitdiff
path: root/src/mod_proxy65_service.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_proxy65_service.erl')
-rw-r--r--src/mod_proxy65_service.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mod_proxy65_service.erl b/src/mod_proxy65_service.erl
index f51b33db2..1b584500b 100644
--- a/src/mod_proxy65_service.erl
+++ b/src/mod_proxy65_service.erl
@@ -55,6 +55,7 @@ start_link(Host, Opts) ->
[Host, Opts], []).
init([Host, Opts]) ->
+ process_flag(trap_exit, true),
IQDisc = gen_mod:get_opt(iqdisc, Opts, fun gen_iq_handler:check_type/1,
one_queue),
MyHost = gen_mod:get_opt_host(Host, Opts, <<"proxy.@HOST@">>),