From 8279d9c5c2836533f0dc97553fd8a5098ea749b6 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Tue, 20 Nov 2001 02:04:44 +0000 Subject: [PATCH] /SET join_auto_chans_on_invite setting wasn't registered so it didn't work.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2115 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/core/channel-events.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/irc/core/channel-events.c b/src/irc/core/channel-events.c index fec799e4..3e411be7 100644 --- a/src/irc/core/channel-events.c +++ b/src/irc/core/channel-events.c @@ -307,6 +307,8 @@ static void event_invite(IRC_SERVER_REC *server, const char *data) void channel_events_init(void) { + settings_add_bool("misc", "join_auto_chans_on_invite", TRUE); + signal_add_first("event 403", (SIGNAL_FUNC) event_cannot_join); /* no such channel */ signal_add_first("event 405", (SIGNAL_FUNC) event_cannot_join); /* too many channels */ signal_add_first("event 407", (SIGNAL_FUNC) event_duplicate_channel); /* duplicate channel */