From 619babb45776b4fb09461408723cfb1979065216 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Mon, 2 Mar 2009 14:06:47 +0100 Subject: Fix bug with detection of channel name in command /mode --- src/plugins/irc/irc-command.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/plugins/irc/irc-command.c') 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) -- cgit v1.2.3