path: root/src/main.c
authorSergey Poznyakoff <>2018-11-07 11:04:07 (GMT)
committer Sergey Poznyakoff <>2018-11-07 11:09:56 (GMT)
commitaf64e30e538bd8d227432119ab3f54ac8deb03a2 (patch) (side-by-side diff)
tree5e142e4bbeb24805dbce8b98bf17f3606782a450 /src/main.c
parent29583de41d70ec5ef37e87fa1ddddc0f7a15539f (diff)
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.
Diffstat (limited to 'src/main.c') (more/less context) (show whitespace changes)
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 4367ac8..15113a6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -550,13 +550,13 @@ static struct mu_option mailfromd_options[] = {
N_("add the directory DIR to the list of directories to be "
"searched for header files"),
mu_c_string, NULL, opt_include_dir },
{ "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,
N_("set code optimization level"),
mu_c_string, NULL, opt_optimize },
{ "variable", 'v', N_("VAR=VALUE"), MU_OPTION_DEFAULT,

Return to:

Send suggestions and report system problems to the System administrator.