+- Made validate_configuration check for !conf_listen

This commit is contained in:
stskeeps 2001-05-27 10:02:31 +00:00
parent bacf06d3eb
commit 68eb489f36
2 changed files with 6 additions and 1 deletions

View file

@ -524,4 +524,5 @@ seen. gmtime warning still there
- Made the Status Dialog update its values every 5 seconds
- Made slot arrangement be different.
- Merged McSkaf's hostname patch, debug patch, s_misc patch
- Made validate_configuration check for !conf_listen

View file

@ -2792,6 +2792,10 @@ void validate_configuration(void)
Error("set::cloak-keys are too easy to guess. Please select three other more absurd and crazy numbers - will increase security a lot");
}
#endif
if (!conf_listen)
{
Error("No listeners defined");
}
/* Now for the real config */
if (conf_me)
{
@ -2840,7 +2844,7 @@ void validate_configuration(void)
oper_ptr->name);
}
}
for (listen_ptr = conf_listen; listen_ptr; listen_ptr = (ConfigItem_listen *)listen_ptr->next)
{
if (!listen_ptr->ip)