mirror of
https://github.com/weechat/weechat.git
synced 2026-06-29 14:26:39 +02:00
irc: update autojoin option with redirected channels when autojoin_dynamic is enabled (closes #1898)
This commit is contained in:
@@ -48,6 +48,7 @@
|
||||
#include "irc-config.h"
|
||||
#include "irc-ctcp.h"
|
||||
#include "irc-ignore.h"
|
||||
#include "irc-join.h"
|
||||
#include "irc-message.h"
|
||||
#include "irc-mode.h"
|
||||
#include "irc-modelist.h"
|
||||
@@ -6789,6 +6790,12 @@ IRC_PROTOCOL_CALLBACK(470)
|
||||
WEECHAT_HOOK_SIGNAL_POINTER,
|
||||
ptr_buffer);
|
||||
}
|
||||
if (IRC_SERVER_OPTION_BOOLEAN(server,
|
||||
IRC_SERVER_OPTION_AUTOJOIN_DYNAMIC))
|
||||
{
|
||||
irc_join_rename_channel_in_autojoin (server, params[1],
|
||||
params[2]);
|
||||
}
|
||||
}
|
||||
|
||||
old_channel_lower = weechat_string_tolower (params[1]);
|
||||
|
||||
Reference in New Issue
Block a user