summaryrefslogtreecommitdiff
path: root/src/fe-common/irc/dcc/fe-dcc-chat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-common/irc/dcc/fe-dcc-chat.c')
-rw-r--r--src/fe-common/irc/dcc/fe-dcc-chat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/irc/dcc/fe-dcc-chat.c b/src/fe-common/irc/dcc/fe-dcc-chat.c
index 3095fcfd..d2723c96 100644
--- a/src/fe-common/irc/dcc/fe-dcc-chat.c
+++ b/src/fe-common/irc/dcc/fe-dcc-chat.c
@@ -340,7 +340,7 @@ static void read_settings(void)
{
int level;
- level = level2bits(settings_get_str("autocreate_query_level"));
+ level = settings_get_level("autocreate_query_level");
autocreate_dccquery = (level & MSGLEVEL_DCCMSGS) != 0;
}