summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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",