mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
Add require-sasl support to KLINE / UBAN on NUH masks
This commit is contained in:
parent
36e5451aa5
commit
21ee867ebb
4 changed files with 11 additions and 9 deletions
|
|
@ -1637,7 +1637,7 @@ func klineHandler(server *Server, client *Client, msg ircmsg.Message, rb *Respon
|
|||
// get comment(s)
|
||||
reason, operReason := getReasonsFromParams(msg.Params, currentArg)
|
||||
|
||||
err = server.klines.AddMask(mask, duration, reason, operReason, operName)
|
||||
err = server.klines.AddMask(mask, duration, false, reason, operReason, operName)
|
||||
if err != nil {
|
||||
rb.Notice(fmt.Sprintf(client.t("Could not successfully save new K-LINE: %s"), err.Error()))
|
||||
return false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue