IRC operators can always use /KICK now
This commit is contained in:
parent
72a60aa55f
commit
7fa58ebac1
@ -353,7 +353,7 @@ func (s *Server) handleEvent(e Event) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
clientMode := channel.modeMap[e.client.key]
|
clientMode := channel.modeMap[e.client.key]
|
||||||
if !clientMode.operator {
|
if !clientMode.operator && !e.client.operator {
|
||||||
e.client.reply(errNoPriv)
|
e.client.reply(errNoPriv)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user