1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-05 02:29:34 +02:00

Store who defines a command, specially when defined by ejabberd modules

This commit is contained in:
Badlop 2021-07-29 23:13:17 +02:00
parent 2050cdffb4
commit ccb4328d06
9 changed files with 13 additions and 8 deletions

View file

@ -92,7 +92,7 @@
%%%
start(_Host, _Opts) ->
ejabberd_commands:register_commands(get_commands_spec()).
ejabberd_commands:register_commands(?MODULE, get_commands_spec()).
stop(Host) ->
case gen_mod:is_loaded_elsewhere(Host, ?MODULE) of