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:
Holger Weiss 2014-12-04 20:32:21 +01:00
parent 4f3a724927
commit 0566bf241e
1 changed files with 1 additions and 1 deletions

View File

@ -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.