From 19ab6edda27d18500f67da58d1c08f21bd500b69 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sun, 5 Apr 2020 13:01:06 +0200 Subject: [PATCH] fix log.Fatal into log.Fatalf --- util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.go b/util.go index cd16a59..3b95b4c 100644 --- a/util.go +++ b/util.go @@ -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 } }