style: satisfy golangci-lint on the round-6 changes
All checks were successful
check / check (push) Successful in 7m26s
All checks were successful
check / check (push) Successful in 7m26s
nolintlint: gosec was not firing on the deferred Close. nonamedreturns + varnamelen in collapseUserModeOps.
This commit is contained in:
@@ -161,7 +161,7 @@ func (c *Conn) Disconnect(reason string) {
|
||||
func (c *Conn) notifyKilledAndClose(
|
||||
nick, host, reason string,
|
||||
) {
|
||||
defer c.conn.Close() //nolint:errcheck,gosec
|
||||
defer c.conn.Close() //nolint:errcheck
|
||||
|
||||
c.sendWithin(
|
||||
killWriteWindow,
|
||||
|
||||
Reference in New Issue
Block a user