aboutsummaryrefslogtreecommitdiff
path: root/include/ejabberd_commands.hrl
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2015-09-25 14:53:25 +0200
committerChristophe Romain <christophe.romain@process-one.net>2015-09-25 15:49:07 +0200
commita1129dc96b4782800c3046ea6de6a77049f2293e (patch)
tree16d24c6eefbe7a5f65c0ac4410d8a57eed1d1222 /include/ejabberd_commands.hrl
parentMerge pull request #742 from joudinet/master (diff)
Add OAuth support (thanks to Aleksey)
Diffstat (limited to '')
-rw-r--r--include/ejabberd_commands.hrl1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ejabberd_commands.hrl b/include/ejabberd_commands.hrl
index 3ab15ca31..82ee891c3 100644
--- a/include/ejabberd_commands.hrl
+++ b/include/ejabberd_commands.hrl
@@ -34,6 +34,7 @@
module :: atom(),
function :: atom(),
args = [] :: [aterm()] | '_' | '$1' | '$2',
+ policy = restricted :: open | restricted | admin | user,
result = {res, rescode} :: rterm() | '_' | '$2'}).
-type ejabberd_commands() :: #ejabberd_commands{name :: atom(),