1
0
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:
Adam
2010-08-17 19:27:37 -04:00
parent 2575008baa
commit e65d8b2f3d
195 changed files with 3133 additions and 3249 deletions
@@ -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);