mirror of
https://github.com/processone/ejabberd.git
synced 2025-01-01 17:53:00 +01:00
Make sure that policy=user commands have host instead of server arg in docs
We renamed them in ejabberd_command, but forgot to update doc geenerator.
This commit is contained in:
parent
4735372682
commit
426fd14b11
@ -472,7 +472,7 @@ generate_html_output(File, RegExp, Languages) ->
|
||||
ok.
|
||||
|
||||
maybe_add_policy_arguments(#ejabberd_commands{args=Args1, policy=user}=Cmd) ->
|
||||
Args2 = [{user, binary}, {server, binary} | Args1],
|
||||
Args2 = [{user, binary}, {host, binary} | Args1],
|
||||
Cmd#ejabberd_commands{args = Args2};
|
||||
maybe_add_policy_arguments(Cmd) ->
|
||||
Cmd.
|
||||
|
Loading…
Reference in New Issue
Block a user