25
1
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:
Badlop 2024-05-29 10:22:53 +02:00
parent 7ba9f2e4e8
commit 882cd8faf5

View File

@ -82,7 +82,7 @@ can_access(Cmd, CallerInfo) ->
case matches_definition(Def, Cmd, CallerModule, Tag, Host, CallerInfo) of
true ->
?DEBUG("Command '~p' execution allowed by rule "
"'~ts' (CallerInfo=~p)", [Cmd, Name, CallerInfo]),
"'~ts'~n (CallerInfo=~p)", [Cmd, Name, CallerInfo]),
allow;
_ ->
none
@ -93,7 +93,7 @@ can_access(Cmd, CallerInfo) ->
case Res of
allow -> allow;
_ ->
?DEBUG("Command '~p' execution denied "
?DEBUG("Command '~p' execution denied~n "
"(CallerInfo=~p)", [Cmd, CallerInfo]),
deny
end.