IRC operators can always use /KICK now

This commit is contained in:
Harry Jeffery 2013-08-29 21:15:04 +01:00
parent 72a60aa55f
commit 7fa58ebac1

View File

@ -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
} }