mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-04 23:33:14 +02:00
+- Made validate_configuration check for !conf_listen
This commit is contained in:
@@ -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
|
||||
|
||||
+5
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user