mod_message_log: Stop cleanly
The mod_message_log module doesn't use gen_mod:get_module_proc/2 to generate process names, as only one process (per node) is started for all virtual hosts.
This commit is contained in:
parent
4f3a724927
commit
0566bf241e
|
@ -60,7 +60,7 @@ stop(Host) ->
|
|||
ok;
|
||||
_ ->
|
||||
ejabberd_hooks:delete(reopen_log_hook, ?MODULE, reopen_log, 42),
|
||||
gen_mod:get_module_proc(Host, ?PROCNAME) ! stop,
|
||||
?PROCNAME ! stop,
|
||||
ok
|
||||
end.
|
||||
|
||||
|
|
Loading…
Reference in New Issue