1
0
Fork 0
forked from External/ergo
This commit is contained in:
Daniel Oaks 2018-02-04 21:32:48 +10:00
commit 3680a3fe9a
7 changed files with 275 additions and 56 deletions

View file

@ -214,7 +214,7 @@ func (channel *Channel) ApplyChannelModeChanges(client *Client, isSamode bool, c
if !hasPrivs(change) {
if !alreadySentPrivError {
alreadySentPrivError = true
client.Send(nil, client.server.name, ERR_CHANOPRIVSNEEDED, channel.name, client.t("You're not a channel operator"))
rb.Add(nil, client.server.name, ERR_CHANOPRIVSNEEDED, channel.name, client.t("You're not a channel operator"))
}
continue
}