summaryrefslogtreecommitdiff
path: root/src/fe-common
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-07-21 18:46:05 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-07-21 18:46:05 +0000
commit9f4ab078740c8a9099d5fd79b57bcfb617f9ae29 (patch)
tree517b24c507661c1c9e09f3963c1f636665b703b0 /src/fe-common
parent4bd56ec361921d609e838f702ab4747731e9e325 (diff)
downloadirssi-9f4ab078740c8a9099d5fd79b57bcfb617f9ae29.zip
/SET completion_disable_auto -> completion_auto
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@499 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common')
-rw-r--r--src/fe-common/irc/irc-completion.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fe-common/irc/irc-completion.c b/src/fe-common/irc/irc-completion.c
index 78fe9c5d..401984e2 100644
--- a/src/fe-common/irc/irc-completion.c
+++ b/src/fe-common/irc/irc-completion.c
@@ -529,7 +529,8 @@ static void event_text(gchar *line, IRC_SERVER_REC *server, WI_IRC_REC *item)
expand_escapes(line, server, item) : g_strdup(line);
/* check for nick completion */
- if (settings_get_bool("completion_disable_auto") || *settings_get_str("completion_char") == '\0')
+ if (!settings_get_bool("completion_auto") ||
+ *settings_get_str("completion_char") == '\0')
{
ptr = NULL;
comp = NULL;
@@ -593,7 +594,7 @@ static void completion_deinit_channel(CHANNEL_REC *channel)
void irc_completion_init(void)
{
settings_add_str("completion", "completion_char", ":");
- settings_add_bool("completion", "completion_disable_auto", TRUE);
+ settings_add_bool("completion", "completion_auto", FALSE);
settings_add_int("completion", "completion_keep_publics", 180);
settings_add_int("completion", "completion_keep_ownpublics", 360);
settings_add_int("completion", "completion_keep_privates", 10);