aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2016-11-18 13:39:10 +0300
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2016-11-18 13:39:10 +0300
commitf57f267c542a8e6ddbb31cb3ba05c4fd3798f998 (patch)
tree4322c5f5b94f4d4f657aaa2199fc963cfc485bc8 /include
parentMake common tests working again (diff)
parentAdd auth to mod_http_fileserver (diff)
Merge branch 'master' of github.com:processone/ejabberd
Conflicts: test/ejabberd_SUITE.erl
Diffstat (limited to 'include')
-rw-r--r--include/ejabberd_commands.hrl7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/ejabberd_commands.hrl b/include/ejabberd_commands.hrl
index c5c34b743..199be890e 100644
--- a/include/ejabberd_commands.hrl
+++ b/include/ejabberd_commands.hrl
@@ -46,12 +46,13 @@
%% to command, so that the command can perform additional check.
-record(ejabberd_commands,
- {name :: atom(),
+ {name :: atom(),
tags = [] :: [atom()] | '_' | '$2',
desc = "" :: string() | '_' | '$3',
longdesc = "" :: string() | '_',
- version = 0 :: integer(),
- module :: atom() | '_',
+ version = 0 :: integer(),
+ weight = 1 :: integer(),
+ module :: atom() | '_',
function :: atom() | '_',
args = [] :: [aterm()] | '_' | '$1' | '$2',
policy = restricted :: open | restricted | admin | user,