mirror of
https://github.com/processone/ejabberd
synced 2025-10-05 02:29:34 +02:00
Use new configuration validator
This commit is contained in:
parent
d48c067681
commit
a02cff0e78
265 changed files with 12412 additions and 9918 deletions
|
@ -24,7 +24,6 @@
|
|||
|
||||
-module(mod_muc_sql).
|
||||
|
||||
-compile([{parse_transform, ejabberd_sql_pt}]).
|
||||
|
||||
-behaviour(mod_muc).
|
||||
-behaviour(mod_muc_room).
|
||||
|
@ -50,7 +49,7 @@
|
|||
%%% API
|
||||
%%%===================================================================
|
||||
init(Host, Opts) ->
|
||||
case gen_mod:ram_db_mod(Host, Opts, mod_muc) of
|
||||
case gen_mod:ram_db_mod(Opts, mod_muc) of
|
||||
?MODULE ->
|
||||
clean_tables(Host);
|
||||
_ ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue