Merge pull request #253 from ytkang/master

Fix mod_pottymouth install error about issue #252
This commit is contained in:
Evgeny Khramtsov 2018-07-11 12:49:11 +03:00 committed by GitHub
commit 562fb1640d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -2,7 +2,7 @@
-behaviour(gen_mod).
-include("ejabberd.hrl").
% -include("ejabberd.hrl").
-include("logger.hrl").
-include("xmpp.hrl").
@ -12,7 +12,8 @@
on_filter_packet/1,
mod_opt_type/1,
depends/2,
reload/3
reload/3,
mod_options/1
]).
-import(bloom_gen_server, [start/0, stop/0, member/1]).
@ -92,3 +93,5 @@ mod_opt_type(charmaps) -> fun (A) when is_list(A) -> A end;
mod_opt_type(_) -> [blacklists, charmaps].
depends(_Host, _Opts) -> [].
reload(_Host, _NewOpts, _OldOpts) -> ok.
mod_options(_) ->
[{blacklists, []},{charmaps, []}].