add depends/2 to mod_pottymouth... seems to be required by gen_mod now

This commit is contained in:
Tom Quackenbush 2016-09-13 17:23:47 -04:00
parent 707321e0e0
commit 78bb06c6aa
No known key found for this signature in database
GPG Key ID: F08C0F59E57F9F5E
1 changed files with 3 additions and 1 deletions

View File

@ -8,7 +8,8 @@
start/2,
stop/1,
on_filter_packet/1,
mod_opt_type/1
mod_opt_type/1,
depends/2
]).
-include("ejabberd.hrl").
@ -91,3 +92,4 @@ on_filter_packet(Msg) ->
mod_opt_type(blacklists) -> fun (A) when is_list(A) -> A end;
mod_opt_type(charmaps) -> fun (A) when is_list(A) -> A end;
mod_opt_type(_) -> [blacklists, charmaps].
depends(_Host, _Opts) -> [].