mirror of
https://github.com/pissnet/pissircd.git
synced 2025-07-29 06:22:24 +01:00
+- Made validate_configuration check for !conf_listen
This commit is contained in:
parent
bacf06d3eb
commit
68eb489f36
2 changed files with 6 additions and 1 deletions
1
Changes
1
Changes
|
@ -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
|
||||
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue