diff options
Diffstat (limited to 'src/plugins/irc/irc-command.c')
-rw-r--r-- | src/plugins/irc/irc-command.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-command.c b/src/plugins/irc/irc-command.c index e1847aeab..6556a9493 100644 --- a/src/plugins/irc/irc-command.c +++ b/src/plugins/irc/irc-command.c @@ -2636,7 +2636,8 @@ irc_command_join_server (struct t_irc_server *server, const char *arguments, } if (manual_join && weechat_config_boolean (irc_config_look_buffer_open_before_join) - && !irc_channel_search (server, pos_channel)) + && !irc_channel_search (server, pos_channel) + && (strcmp (pos_channel, "0") != 0)) { /* * open the channel buffer immediately (do not wait for the |