25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

mod_muc_rtbl: Fix call to gen_server:stop (#4260)

This commit is contained in:
Badlop 2024-07-22 13:01:49 +02:00
parent bc7c8e3952
commit 10d1704899

View File

@ -46,7 +46,7 @@ start(Host, _Opts) ->
gen_server:start({local, gen_mod:get_module_proc(Host, ?MODULE)}, ?MODULE, [Host], []). gen_server:start({local, gen_mod:get_module_proc(Host, ?MODULE)}, ?MODULE, [Host], []).
stop(Host) -> stop(Host) ->
gen_server:stop({local, gen_mod:get_module_proc(Host, ?MODULE)}). gen_server:stop(gen_mod:get_module_proc(Host, ?MODULE)).
init([Host]) -> init([Host]) ->
ejabberd_mnesia:create(?MODULE, muc_rtbl, ejabberd_mnesia:create(?MODULE, muc_rtbl,