aboutsummaryrefslogtreecommitdiff
path: root/src/mod_mam.erl
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2021-07-29 23:13:17 +0200
committerBadlop <badlop@process-one.net>2021-07-30 01:14:27 +0200
commitccb4328d06bd39a10c2ecc109a6647cf1eafdaa9 (patch)
treebd3312fcc19051ae6ea78f66aa0101a7e80c38ab /src/mod_mam.erl
parentPubSub: 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.erl2
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