summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-completion.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/irc/irc-completion.c')
-rw-r--r--src/plugins/irc/irc-completion.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/plugins/irc/irc-completion.c b/src/plugins/irc/irc-completion.c
index 81fe87aae..392ee7871 100644
--- a/src/plugins/irc/irc-completion.c
+++ b/src/plugins/irc/irc-completion.c
@@ -189,8 +189,7 @@ irc_completion_channel_nicks_cb (void *data, char *completion,
/* add self nick at the end */
weechat_list_add (list, ptr_server->nick, WEECHAT_LIST_POS_END);
}
- if ((ptr_channel->type == IRC_CHANNEL_TYPE_PRIVATE)
- || (ptr_channel->type == IRC_CHANNEL_TYPE_DCC_CHAT))
+ if (ptr_channel->type == IRC_CHANNEL_TYPE_PRIVATE)
{
weechat_list_add (list, ptr_channel->name, WEECHAT_LIST_POS_SORT);
}
@@ -244,8 +243,7 @@ irc_completion_channel_nicks_hosts_cb (void *data, char *completion,
}
}
}
- if ((ptr_channel->type == IRC_CHANNEL_TYPE_PRIVATE)
- || (ptr_channel->type == IRC_CHANNEL_TYPE_DCC_CHAT))
+ if (ptr_channel->type == IRC_CHANNEL_TYPE_PRIVATE)
{
weechat_list_add (list, ptr_channel->name,
WEECHAT_LIST_POS_SORT);