25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +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}; true -> {allowed, Call, admin};
_ -> unauthorized_response() _ -> unauthorized_response()
end; end;
_E -> E ->
?DEBUG("Unauthorized: ~p", [_E]), ?DEBUG("Unauthorized: ~p", [E]),
unauthorized_response() unauthorized_response()
end; end;
check_permissions2(_Request, _Call, _Policy) -> check_permissions2(_Request, _Call, _Policy) ->