diff options
author | Badlop <badlop@process-one.net> | 2021-07-29 23:13:17 +0200 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2021-07-30 01:14:27 +0200 |
commit | ccb4328d06bd39a10c2ecc109a6647cf1eafdaa9 (patch) | |
tree | bd3312fcc19051ae6ea78f66aa0101a7e80c38ab /src/mod_mam.erl | |
parent | PubSub: Use configured 'max_items' by default (diff) |
Store who defines a command, specially when defined by ejabberd modules
Diffstat (limited to 'src/mod_mam.erl')
-rw-r--r-- | src/mod_mam.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_mam.erl b/src/mod_mam.erl index 12542bfa5..e894f5f7d 100644 --- a/src/mod_mam.erl +++ b/src/mod_mam.erl @@ -148,7 +148,7 @@ start(Host, Opts) -> ejabberd_hooks:add(check_create_room, Host, ?MODULE, check_create_room, 50) end, - ejabberd_commands:register_commands(get_commands_spec()), + ejabberd_commands:register_commands(?MODULE, get_commands_spec()), ok; Err -> Err |