diff options
author | Kazuhiro NISHIYAMA <znz@users.noreply.github.com> | 2018-05-19 04:45:39 +0900 |
---|---|---|
committer | Wim <wim@42.be> | 2018-05-18 21:45:39 +0200 |
commit | f1db166ac4b4934b7bf55b372b234be6ab8b18de (patch) | |
tree | f2c6281a31be4030fe27aec9d248b5d3094e679f /bridge | |
parent | 887c2bc56d418b2c635514ea47b5d7dee6dead45 (diff) | |
download | matterbridge-msglm-f1db166ac4b4934b7bf55b372b234be6ab8b18de.tar.gz matterbridge-msglm-f1db166ac4b4934b7bf55b372b234be6ab8b18de.tar.bz2 matterbridge-msglm-f1db166ac4b4934b7bf55b372b234be6ab8b18de.zip |
Fix format string bug (irc) (#428)
Diffstat (limited to 'bridge')
-rw-r--r-- | bridge/irc/irc.go | 2 |
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() } |