mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Do not use underscore variable
This commit is contained in:
parent
f243c30847
commit
47266de6d7
@ -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) ->
|
||||||
|
Loading…
Reference in New Issue
Block a user