Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2021-07-30 00:13:17 +0300
committerBadlop <badlop@process-one.net>2021-07-30 02:14:27 +0300
commitccb4328d06bd39a10c2ecc109a6647cf1eafdaa9 (patch)
treebd3312fcc19051ae6ea78f66aa0101a7e80c38ab /src/mod_mam.erl
parent2050cdffb457c4adbf5070de2ea84c59b2dc61a3 (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