summaryrefslogtreecommitdiff
path: root/src/irc/core/channel-events.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-11-20 02:04:44 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-11-20 02:04:44 +0000
commit8279d9c5c2836533f0dc97553fd8a5098ea749b6 (patch)
tree49f4491efaafb3bdc7665de7eece673fed1a48ab /src/irc/core/channel-events.c
parente0841d15a2958eb7f5df7ad52ff940f7435f0aa2 (diff)
downloadirssi-8279d9c5c2836533f0dc97553fd8a5098ea749b6.zip
/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
Diffstat (limited to 'src/irc/core/channel-events.c')
-rw-r--r--src/irc/core/channel-events.c2
1 files changed, 2 insertions, 0 deletions
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 */