diff options
Diffstat (limited to 'src/mod_irc/iconv.erl')
-rw-r--r-- | src/mod_irc/iconv.erl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mod_irc/iconv.erl b/src/mod_irc/iconv.erl index b3502c55f..900efcbbb 100644 --- a/src/mod_irc/iconv.erl +++ b/src/mod_irc/iconv.erl @@ -50,11 +50,10 @@ handle_call(_, _, State) -> handle_cast(_, State) -> {noreply, State}. +handle_info({'EXIT', Port, Reason}, Port) -> + {stop, {port_died, Reason}, Port}; handle_info({'EXIT', _Pid, _Reason}, Port) -> {noreply, Port}; -%% TODO: Check this clause, because it never matches: -%%handle_info({'EXIT', Port, Reason}, Port) -> -%% {stop, {port_died, Reason}, Port}; handle_info(_, State) -> {noreply, State}. |