]> jfr.im git - solanum.git/blobdiff - src/s_conf.c
Show yyerror() parse errors on stderr on startup.
[solanum.git] / src / s_conf.c
index fcf83bfa24e5fdcd0bc1e61065ff617b2cf4aee0..94e8669d9146af3ce30bada0dec87accb55fe14b 100644 (file)
@@ -1523,10 +1523,10 @@ yyerror(const char *msg)
 
        strip_tabs(newlinebuf, linebuf, strlen(linebuf));
 
+       ierror("\"%s\", line %d: %s at '%s'", conffilebuf, lineno + 1, msg, newlinebuf);
        sendto_realops_snomask(SNO_GENERAL, L_ALL, "\"%s\", line %d: %s at '%s'",
                             conffilebuf, lineno + 1, msg, newlinebuf);
 
-       ilog(L_MAIN, "\"%s\", line %d: %s at '%s'", conffilebuf, lineno + 1, msg, newlinebuf);
 }
 
 int