mirror of
https://github.com/jeremyd/ergo.git
synced 2026-07-22 15:28:09 -07:00
Merge pull request #1528 from slingamn/issue1176_operprivs
enhancements to operator privilege handling
This commit is contained in:
+1
-1
@@ -876,7 +876,7 @@ func csHowToBanHandler(service *ircService, server *Server, client *Client, comm
|
||||
return
|
||||
}
|
||||
|
||||
if !(channel.ClientIsAtLeast(client, modes.Operator) || client.HasRoleCapabs("samode")) {
|
||||
if !(channel.ClientIsAtLeast(client, modes.ChannelOperator) || client.HasRoleCapabs("samode")) {
|
||||
service.Notice(rb, client.t("Insufficient privileges"))
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user