diff --git a/mod_message_log/src/mod_message_log.erl b/mod_message_log/src/mod_message_log.erl index 1cfed17..ad1e3cb 100644 --- a/mod_message_log/src/mod_message_log.erl +++ b/mod_message_log/src/mod_message_log.erl @@ -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.