3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-12-22 10:42:52 +01:00

server: fix sprintf call

This commit is contained in:
Daniel Oaks 2016-10-16 20:45:36 +10:00
parent e100bd18af
commit 41d534d6dd

View File

@ -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
}