From af64e30e538bd8d227432119ab3f54ac8deb03a2 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Wed, 7 Nov 2018 13:04:07 +0200 Subject: Fix the functionality of the mailfromd --mtasim option This option must discard the effect of the server.listen statement This also fixes mtasim -Xauto * src/main.c (mailfromd_options): Process the --mtasim option immediately. --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 4367ac89..15113a6e 100644 --- a/src/main.c +++ b/src/main.c @@ -553,7 +553,7 @@ static struct mu_option mailfromd_options[] = { { "port", 'p', N_("STRING"), MU_OPTION_DEFAULT, N_("set communication socket"), mu_c_string, NULL, opt_port }, - { "mtasim", 0, NULL, MU_OPTION_DEFAULT, + { "mtasim", 0, NULL, MU_OPTION_IMMEDIATE, N_("run in mtasim compatibility mode"), mu_c_string, NULL, opt_mtasim }, { "optimize", 'O', N_("LEVEL"), MU_OPTION_ARG_OPTIONAL, -- cgit v1.2.1