mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-30 17:43:57 +01:00
Stop hook on message drop in mod_block_strangers
This commit is contained in:
parent
b080b8f54d
commit
fd4f5c0996
@ -81,7 +81,7 @@ filter_packet({#message{} = Msg, State} = Acc) ->
|
||||
end,
|
||||
if
|
||||
Drop ->
|
||||
{drop, State};
|
||||
{stop, {drop, State}};
|
||||
true ->
|
||||
Acc
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user