summaryrefslogtreecommitdiffstats
path: root/src/daemon/settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/settings.c')
-rw-r--r--src/daemon/settings.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daemon/settings.c b/src/daemon/settings.c
index b5c9c0c..c537510 100644
--- a/src/daemon/settings.c
+++ b/src/daemon/settings.c
@@ -34,7 +34,7 @@ void settings_init(void)
{
unset_flag(flag_daemonize);
settings.port = 6996;
- set_flag(flag_verbose);
+ settings.verboselevel = USURP_VERBOSITY;
settings.progname = program_invocation_short_name;
settings.im_user = "user";
settings.im_password = "password";
@@ -48,7 +48,7 @@ int setting_detach(void)
int setting_verbose(void)
{
- return test_flag(flag_verbose);
+ return settings.verboselevel;
}
unsigned short int setting_port(void)