1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-03 17:59:31 +02:00

Fix commands access check.

This commit is contained in:
Jerome Sautret 2015-10-22 14:47:35 +02:00
parent f13dc94801
commit 447313ced5

View file

@ -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{