add depends/2 to mod_pottymouth... seems to be required by gen_mod now
This commit is contained in:
parent
707321e0e0
commit
78bb06c6aa
|
@ -8,7 +8,8 @@
|
||||||
start/2,
|
start/2,
|
||||||
stop/1,
|
stop/1,
|
||||||
on_filter_packet/1,
|
on_filter_packet/1,
|
||||||
mod_opt_type/1
|
mod_opt_type/1,
|
||||||
|
depends/2
|
||||||
]).
|
]).
|
||||||
|
|
||||||
-include("ejabberd.hrl").
|
-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(blacklists) -> fun (A) when is_list(A) -> A end;
|
||||||
mod_opt_type(charmaps) -> 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].
|
mod_opt_type(_) -> [blacklists, charmaps].
|
||||||
|
depends(_Host, _Opts) -> [].
|
||||||
|
|
Loading…
Reference in New Issue