Skip to content

Commit

Permalink
ext_mod: Handle info message when contrib module transfers table owne…
Browse files Browse the repository at this point in the history
…rship
  • Loading branch information
badlop committed Jul 25, 2024
1 parent 0d8ff40 commit 0a5f9e9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/ext_mod.erl
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@ handle_cast(Msg, State) ->
?WARNING_MSG("Unexpected cast: ~p", [Msg]),
{noreply, State}.

handle_info({'ETS-TRANSFER', Table, Process, Module}, State) ->
?DEBUG("ejabberd now controls ETS table ~p from process ~p for module ~p",
[Table, Process, Module]),
{noreply, State};

handle_info(Info, State) ->
?WARNING_MSG("Unexpected info: ~p", [Info]),
{noreply, State}.
Expand Down

0 comments on commit 0a5f9e9

Please sign in to comment.