Browse Source

Fix CHANSERV OP

tags/v0.11.0-beta
Daniel Oaks 6 years ago
parent
commit
46c98c2cf5
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      irc/chanserv.go

+ 2
- 2
irc/chanserv.go View File

@@ -72,8 +72,8 @@ func (server *Server) chanservOpHandler(client *Client, channelName, clientToOp
72 72
 	}
73 73
 
74 74
 	channelInfo := server.channels.Get(channelKey)
75
-	if channelInfo == nil || !channelInfo.ClientIsAtLeast(client, modes.ChannelOperator) {
76
-		rb.ChanServNotice(client.t("You must be an oper on the channel to op on it"))
75
+	if channelInfo == nil {
76
+		rb.ChanServNotice(client.t("Channel does not exist"))
77 77
 		return
78 78
 	}
79 79
 

Loading…
Cancel
Save