summaryrefslogtreecommitdiffstats
path: root/bridge/irc
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <znz@users.noreply.github.com>2018-05-19 04:45:39 +0900
committerWim <wim@42.be>2018-05-18 21:45:39 +0200
commitf1db166ac4b4934b7bf55b372b234be6ab8b18de (patch)
treef2c6281a31be4030fe27aec9d248b5d3094e679f /bridge/irc
parent887c2bc56d418b2c635514ea47b5d7dee6dead45 (diff)
downloadmatterbridge-msglm-f1db166ac4b4934b7bf55b372b234be6ab8b18de.tar.gz
matterbridge-msglm-f1db166ac4b4934b7bf55b372b234be6ab8b18de.tar.bz2
matterbridge-msglm-f1db166ac4b4934b7bf55b372b234be6ab8b18de.zip
Fix format string bug (irc) (#428)
Diffstat (limited to 'bridge/irc')
-rw-r--r--bridge/irc/irc.go2
1 files changed, 1 insertions, 1 deletions
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()
}