diff options
author | Timo Sirainen <cras@irssi.org> | 2001-03-20 16:35:00 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-03-20 16:35:00 +0000 |
commit | f3ccfa567d6975b1f08994eaad891b00cbdefa41 (patch) | |
tree | 7afae046e2884e2f7118e0d29680d7052d76ba17 /src/irc/dcc/dcc-autoget.c | |
parent | 8a9fcb53fc4154787cbdaaf7c905ea6ab5c965cd (diff) | |
download | irssi-f3ccfa567d6975b1f08994eaad891b00cbdefa41.zip |
dcc_autoget_lowports -> dcc_autoaccept_lowports since dcc chat uses it too
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1412 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/dcc/dcc-autoget.c')
-rw-r--r-- | src/irc/dcc/dcc-autoget.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/irc/dcc/dcc-autoget.c b/src/irc/dcc/dcc-autoget.c index 54b3a0e2..4e1359a6 100644 --- a/src/irc/dcc/dcc-autoget.c +++ b/src/irc/dcc/dcc-autoget.c @@ -40,7 +40,7 @@ static void sig_dcc_request(GET_DCC_REC *dcc, const char *nickaddr) return; /* check for lowports */ - if (dcc->port < 1024 && !settings_get_bool("dcc_autoget_lowports")) + if (dcc->port < 1024 && !settings_get_bool("dcc_autoaccept_lowports")) return; /* check that autoget masks match */ @@ -69,7 +69,7 @@ static void sig_dcc_request(GET_DCC_REC *dcc, const char *nickaddr) void dcc_autoget_init(void) { settings_add_bool("dcc", "dcc_autoget", FALSE); - settings_add_bool("dcc", "dcc_autoget_lowports", FALSE); + settings_add_bool("dcc", "dcc_autoaccept_lowports", FALSE); settings_add_bool("dcc", "dcc_autoresume", FALSE); settings_add_int("dcc", "dcc_autoget_max_size", 1000); settings_add_str("dcc", "dcc_autoget_masks", ""); |