diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2009-03-02 14:06:47 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2009-03-02 14:06:47 +0100 |
commit | 619babb45776b4fb09461408723cfb1979065216 (patch) | |
tree | 1a2b7ac613b6253fbd6c96400811f2c85f01488e /src/plugins/irc/irc-command.c | |
parent | 8ffd58b4a85998a65a638d5cd7fc31f18590a16a (diff) | |
download | weechat-619babb45776b4fb09461408723cfb1979065216.zip |
Fix bug with detection of channel name in command /mode
Diffstat (limited to 'src/plugins/irc/irc-command.c')
-rw-r--r-- | src/plugins/irc/irc-command.c | 3 |
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) |