1
0
mirror of https://github.com/osmarks/ngircd.git synced 2025-02-07 21:00:03 +00:00

Fix showing the "Ident" option in --configtest output

We tested for the wrong #define ... ooops!
This commit is contained in:
Alexander Barton 2024-01-06 15:50:33 +01:00
parent f96966a62f
commit bc7148f4ac

View File

@ -1,6 +1,6 @@
/* /*
* ngIRCd -- The Next Generation IRC Daemon * ngIRCd -- The Next Generation IRC Daemon
* Copyright (c)2001-2019 Alexander Barton (alex@barton.de) and Contributors. * Copyright (c)2001-2024 Alexander Barton (alex@barton.de) and Contributors.
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -408,7 +408,7 @@ Conf_Test( void )
#endif #endif
printf(" DefaultUserModes = %s\n", Conf_DefaultUserModes); printf(" DefaultUserModes = %s\n", Conf_DefaultUserModes);
printf(" DNS = %s\n", yesno_to_str(Conf_DNS)); printf(" DNS = %s\n", yesno_to_str(Conf_DNS));
#ifdef IDENT #ifdef IDENTAUTH
printf(" Ident = %s\n", yesno_to_str(Conf_Ident)); printf(" Ident = %s\n", yesno_to_str(Conf_Ident));
#endif #endif
printf(" IncludeDir = %s\n", Conf_IncludeDir); printf(" IncludeDir = %s\n", Conf_IncludeDir);