summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/irc/irc-command.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/irc/irc-command.c b/src/plugins/irc/irc-command.c
index 44a19a968..520aff92c 100644
--- a/src/plugins/irc/irc-command.c
+++ b/src/plugins/irc/irc-command.c
@@ -1932,8 +1932,7 @@ irc_command_mode (void *data, struct t_gui_buffer *buffer, int argc,
if (argc > 1)
{
- if ((argv[1][0] == '+') || (argv[1][0] == '-')
- || !irc_channel_is_channel (argv[1]))
+ if ((argv[1][0] == '+') || (argv[1][0] == '-'))
{
/* channel not specified, check we are on channel and use it */
if (!ptr_channel)