fix log.Fatal into log.Fatalf

This commit is contained in:
Alex 2020-04-05 13:01:06 +02:00
parent 054a6d4268
commit 19ab6edda2

View file

@ -99,7 +99,7 @@ func isBridgedIdentifier(mxid string) bool {
return strings.HasPrefix(mxid, nameformat_fixed_part)
} else {
// This is not supported
log.Fatal("Invalid name format %s, please put {} at the beginning or at the end", config.NameFormat)
log.Fatalf("Invalid name format %s, please put {} at the beginning or at the end", config.NameFormat)
return false
}
}