mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
avoid some uses of Sprintf for loglines
This commit is contained in:
parent
ec4f1c189a
commit
c2b2559ab4
6 changed files with 11 additions and 11 deletions
|
|
@ -72,7 +72,7 @@ func (clients *ClientManager) removeInternal(client *Client) (err error) {
|
|||
delete(clients.byNick, oldcfnick)
|
||||
} else {
|
||||
// this shouldn't happen, but we can ignore it
|
||||
client.server.logger.Warning("internal", fmt.Sprintf("clients for nick %s out of sync", oldcfnick))
|
||||
client.server.logger.Warning("internal", "clients for nick out of sync", oldcfnick)
|
||||
err = errNickMissing
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue