mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 09:49:18 +02:00
Fix commands access check.
This commit is contained in:
parent
f13dc94801
commit
447313ced5
1 changed files with 1 additions and 1 deletions
|
@ -448,7 +448,7 @@ check_access_commands([], _Auth, _Method, _Command, _Arguments) ->
|
|||
check_access_commands(AccessCommands, Auth, Method, Command1, Arguments) ->
|
||||
Command =
|
||||
case {Command1#ejabberd_commands.policy, Auth} of
|
||||
{user, {_, _, _}} ->
|
||||
{user, {_, _, _, _}} ->
|
||||
Command1;
|
||||
{user, _} ->
|
||||
Command1#ejabberd_commands{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue