mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
ejabberd_access_permissions: Fix debug lines indentation that were hard to read
This commit is contained in:
parent
7ba9f2e4e8
commit
882cd8faf5
@ -82,7 +82,7 @@ can_access(Cmd, CallerInfo) ->
|
|||||||
case matches_definition(Def, Cmd, CallerModule, Tag, Host, CallerInfo) of
|
case matches_definition(Def, Cmd, CallerModule, Tag, Host, CallerInfo) of
|
||||||
true ->
|
true ->
|
||||||
?DEBUG("Command '~p' execution allowed by rule "
|
?DEBUG("Command '~p' execution allowed by rule "
|
||||||
"'~ts' (CallerInfo=~p)", [Cmd, Name, CallerInfo]),
|
"'~ts'~n (CallerInfo=~p)", [Cmd, Name, CallerInfo]),
|
||||||
allow;
|
allow;
|
||||||
_ ->
|
_ ->
|
||||||
none
|
none
|
||||||
@ -93,7 +93,7 @@ can_access(Cmd, CallerInfo) ->
|
|||||||
case Res of
|
case Res of
|
||||||
allow -> allow;
|
allow -> allow;
|
||||||
_ ->
|
_ ->
|
||||||
?DEBUG("Command '~p' execution denied "
|
?DEBUG("Command '~p' execution denied~n "
|
||||||
"(CallerInfo=~p)", [Cmd, CallerInfo]),
|
"(CallerInfo=~p)", [Cmd, CallerInfo]),
|
||||||
deny
|
deny
|
||||||
end.
|
end.
|
||||||
|
Loading…
Reference in New Issue
Block a user