mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-10 22:19:31 +01:00
review fix
This commit is contained in:
parent
7c5fa551ac
commit
71cc9a1adf
@ -590,7 +590,7 @@ func capHandler(server *Server, client *Client, msg ircmsg.IrcMessage, rb *Respo
|
||||
rb.Add(nil, server.name, "CAP", details.nick, "NAK", capString)
|
||||
return false
|
||||
} else if toAdd.Has(caps.Nope) && !client.registered {
|
||||
client.Quit(client.t("Requesting the oragono.io/nope CAP is forbidden"), rb.session)
|
||||
client.Quit(fmt.Sprintf(client.t("Requesting the %s client capability is forbidden"), caps.Nope.Name()), rb.session)
|
||||
return true
|
||||
}
|
||||
|
||||
|
@ -158,7 +158,7 @@
|
||||
"Remote servers not yet supported": "Remote servers not yet supported",
|
||||
"Removed D-Line for %s": "Removed D-Line for %s",
|
||||
"Removed K-Line for %s": "Removed K-Line for %s",
|
||||
"Requesting the oragono.io/nope CAP is forbidden": "Requesting the oragono.io/nope CAP is forbidden",
|
||||
"Requesting the %s client capability is forbidden": "Requesting the %s client capability is forbidden",
|
||||
"Resume may have lost up to %d seconds of history": "Resume may have lost up to %d seconds of history",
|
||||
"SASL authentication aborted": "SASL authentication aborted",
|
||||
"SASL authentication failed": "SASL authentication failed",
|
||||
|
Loading…
Reference in New Issue
Block a user