From 46c98c2cf5db2376ef459bf2232dfde6c328fa84 Mon Sep 17 00:00:00 2001 From: Daniel Oaks Date: Sun, 1 Apr 2018 09:33:58 +1000 Subject: [PATCH] Fix CHANSERV OP --- irc/chanserv.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/irc/chanserv.go b/irc/chanserv.go index d545f205..b6c1cc23 100644 --- a/irc/chanserv.go +++ b/irc/chanserv.go @@ -72,8 +72,8 @@ func (server *Server) chanservOpHandler(client *Client, channelName, clientToOp } channelInfo := server.channels.Get(channelKey) - if channelInfo == nil || !channelInfo.ClientIsAtLeast(client, modes.ChannelOperator) { - rb.ChanServNotice(client.t("You must be an oper on the channel to op on it")) + if channelInfo == nil { + rb.ChanServNotice(client.t("Channel does not exist")) return }