From f1db166ac4b4934b7bf55b372b234be6ab8b18de Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA Date: Sat, 19 May 2018 04:45:39 +0900 Subject: Fix format string bug (irc) (#428) --- bridge/irc/irc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bridge') diff --git a/bridge/irc/irc.go b/bridge/irc/irc.go index a9a74d78..9947710f 100644 --- a/bridge/irc/irc.go +++ b/bridge/irc/irc.go @@ -189,7 +189,7 @@ func (b *Birc) Send(msg config.Message) (string, error) { b.Log.Errorf("charset from utf-8 conversion failed: %s", err) return "", err } - fmt.Fprintf(w, msg.Text) + fmt.Fprint(w, msg.Text) w.Close() msg.Text = buf.String() } -- cgit v1.2.3