mirror of
https://github.com/anope/anope.git
synced 2026-06-25 05:56:38 +02:00
Rewrote the config reader to better handle invalid configs.
This prevents Anope from exploding when /os reload has errors.
This commit is contained in:
@@ -55,7 +55,7 @@ class SocketEngineSelect : public SocketEngineBase
|
||||
{
|
||||
fd_set rfdset = ReadFDs, wfdset = WriteFDs, efdset = ReadFDs;
|
||||
timeval tval;
|
||||
tval.tv_sec = Config.ReadTimeout;
|
||||
tval.tv_sec = Config->ReadTimeout;
|
||||
tval.tv_usec = 0;
|
||||
|
||||
int sresult = select(MaxFD + 1, &rfdset, &wfdset, &efdset, &tval);
|
||||
|
||||
Reference in New Issue
Block a user