|
@@ -1571,7 +1571,7 @@ func (channel *Channel) Uninvite(invitee *Client, inviter *Client, rb *ResponseB
|
1571
|
1571
|
}
|
1572
|
1572
|
|
1573
|
1573
|
if !channel.ClientIsAtLeast(inviter, modes.ChannelOperator) {
|
1574
|
|
- rb.Add(nil, channel.server.name, "FAIL", "UNINVITE", "NOT_PRIVED", channel.Name(), inviter.t("You're not a channel operator"))
|
|
1574
|
+ rb.Add(nil, channel.server.name, "FAIL", "UNINVITE", "PRIVS_NEEDED", channel.Name(), inviter.t("You're not a channel operator"))
|
1575
|
1575
|
return
|
1576
|
1576
|
}
|
1577
|
1577
|
|