25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00

Do not use underscore variable

This commit is contained in:
Mickael Remond 2016-04-01 12:24:49 +02:00
parent f243c30847
commit 47266de6d7

View File

@ -188,8 +188,8 @@ check_permissions2(#request{ip={IP, _Port}}, Call, _Policy) ->
true -> {allowed, Call, admin};
_ -> unauthorized_response()
end;
_E ->
?DEBUG("Unauthorized: ~p", [_E]),
E ->
?DEBUG("Unauthorized: ~p", [E]),
unauthorized_response()
end;
check_permissions2(_Request, _Call, _Policy) ->