summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-server.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2010-12-15 17:57:43 +0100
committerSebastien Helleu <flashcode@flashtux.org>2010-12-15 17:57:43 +0100
commit987044405bf615b00fb9281badf81799ef0482d9 (patch)
tree809763f7a1fb2e59611b1834be0926ddc917cf60 /src/plugins/irc/irc-server.c
parent62dc84f4e9e531c5a7389b6bcf15aec405d11268 (diff)
downloadweechat-987044405bf615b00fb9281badf81799ef0482d9.zip
Fix bug with charset decoding on IRC private buffers (decoding was made for local nick instead of remote nick) (bug #31890)
Diffstat (limited to 'src/plugins/irc/irc-server.c')
-rw-r--r--src/plugins/irc/irc-server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-server.c b/src/plugins/irc/irc-server.c
index 86c18868e..a1a41129b 100644
--- a/src/plugins/irc/irc-server.c
+++ b/src/plugins/irc/irc-server.c
@@ -1946,7 +1946,7 @@ irc_server_msgq_flush ()
&channel, &arguments);
/* convert charset for message */
- if (channel)
+ if (channel && irc_channel_is_channel (channel))
{
snprintf (modifier_data, sizeof (modifier_data),
"%s.%s.%s",