summaryrefslogtreecommitdiffstats
path: root/bridge/irc/irc.go
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/irc/irc.go')
-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 5176389b..aecd85fd 100644
--- a/bridge/irc/irc.go
+++ b/bridge/irc/irc.go
@@ -277,7 +277,7 @@ func (b *Birc) handlePrivMsg(event *irc.Event) {
return
}
flog.Debugf("detected %s confidence %#v", result.Charset, result.Confidence)
- r, err = charset.NewReader(result.Charset, strings.NewReader(msg))
+ mycharset = result.Charset
// if we're not sure, just pick ISO-8859-1
if result.Confidence < 80 {
mycharset = "ISO-8859-1"