mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Make ext_mod api return rescode
This commit is contained in:
parent
62ee051c6e
commit
a11e833a98
@ -84,7 +84,7 @@ get_commands_spec() ->
|
||||
longdesc = "",
|
||||
module = ?MODULE, function = update,
|
||||
args = [],
|
||||
result = {res, integer}},
|
||||
result = {res, rescode}},
|
||||
#ejabberd_commands{name = modules_available,
|
||||
tags = [admin,modules],
|
||||
desc = "",
|
||||
@ -111,28 +111,28 @@ get_commands_spec() ->
|
||||
longdesc = "",
|
||||
module = ?MODULE, function = install,
|
||||
args = [{module, binary}],
|
||||
result = {res, integer}},
|
||||
result = {res, rescode}},
|
||||
#ejabberd_commands{name = module_uninstall,
|
||||
tags = [admin,modules],
|
||||
desc = "",
|
||||
longdesc = "",
|
||||
module = ?MODULE, function = uninstall,
|
||||
args = [{module, binary}],
|
||||
result = {res, integer}},
|
||||
result = {res, rescode}},
|
||||
#ejabberd_commands{name = module_upgrade,
|
||||
tags = [admin,modules],
|
||||
desc = "",
|
||||
longdesc = "",
|
||||
module = ?MODULE, function = upgrade,
|
||||
args = [{module, binary}],
|
||||
result = {res, integer}},
|
||||
result = {res, rescode}},
|
||||
#ejabberd_commands{name = module_check,
|
||||
tags = [admin,modules],
|
||||
desc = "",
|
||||
longdesc = "",
|
||||
module = ?MODULE, function = check,
|
||||
args = [{module, binary}],
|
||||
result = {res, integer}}
|
||||
result = {res, rescode}}
|
||||
].
|
||||
%% -- public modules functions
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user