forked from External/ergo
require local_ban capab to see uncloaked IPs
This commit is contained in:
parent
bcdf61bd7a
commit
d9f1c8e1c4
2 changed files with 2 additions and 2 deletions
|
|
@ -1103,7 +1103,7 @@ func nsClientsHandler(server *Server, client *Client, command string, params []s
|
|||
|
||||
func nsClientsListHandler(server *Server, client *Client, params []string, rb *ResponseBuffer) {
|
||||
target := client
|
||||
hasPrivs := client.HasRoleCapabs("accreg")
|
||||
hasPrivs := client.HasRoleCapabs("local_ban")
|
||||
if 0 < len(params) {
|
||||
target = server.clients.Get(params[0])
|
||||
if target == nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue