aboutsummaryrefslogtreecommitdiff
path: root/src/mod_muc_sql.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_muc_sql.erl')
-rw-r--r--src/mod_muc_sql.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mod_muc_sql.erl b/src/mod_muc_sql.erl
index f041257f8..54e0315df 100644
--- a/src/mod_muc_sql.erl
+++ b/src/mod_muc_sql.erl
@@ -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);
_ ->