mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-09 23:40:27 +00:00
Fix format string bug (irc) (#428)
This commit is contained in:
parent
887c2bc56d
commit
f1db166ac4
@ -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()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user