mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-22 03:49:27 +01:00
server: fix sprintf call
This commit is contained in:
parent
e100bd18af
commit
41d534d6dd
@ -75,7 +75,7 @@ type clientConn struct {
|
||||
func NewServer(config *Config) *Server {
|
||||
casefoldedName, err := Casefold(config.Server.Name)
|
||||
if err != nil {
|
||||
log.Println(fmt.Sprintf("Server name isn't valid: []", config.Server.Name), err.Error())
|
||||
log.Println(fmt.Sprintf("Server name isn't valid: [%s]", config.Server.Name), err.Error())
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user