diff options
| author | 2006-10-06 21:08:13 +0000 | |
|---|---|---|
| committer | 2006-10-06 21:08:13 +0000 | |
| commit | a495d2228146f109654fa1055f8fca9930ac85bd (patch) | |
| tree | ac2dac55a9f241e379da7c025adc745a93660829 /src/users.cpp | |
| parent | Extra debugging (diff) | |
| download | inspircd++-a495d2228146f109654fa1055f8fca9930ac85bd.tar.gz inspircd++-a495d2228146f109654fa1055f8fca9930ac85bd.tar.bz2 inspircd++-a495d2228146f109654fa1055f8fca9930ac85bd.zip | |
More debug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5439 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/users.cpp b/src/users.cpp index 263c68a94..c5199cb30 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -938,14 +938,18 @@ void userrec::AddClient(InspIRCd* Instance, int socket, int port, bool iscached, New->sendqmax = class_sqmax; New->recvqmax = class_rqmax; + Instance->Log(DEBUG,"Push back to local users."); Instance->local_users.push_back(New); + Instance->Log(DEBUG,"Check softlimit."); if ((Instance->local_users.size() > Instance->Config->SoftLimit) || (Instance->local_users.size() >= MAXCLIENTS)) { userrec::QuitUser(Instance, New,"No more connections allowed"); return; } + Instance->Log(DEBUG,"Softlimit passed."); + /* * XXX - * this is done as a safety check to keep the file descriptors within range of fd_ref_table. @@ -962,6 +966,8 @@ void userrec::AddClient(InspIRCd* Instance, int socket, int port, bool iscached, return; } + Instance->Log(DEBUG,"socket < MAX_DESCRIPTORS passed."); + ELine* e = Instance->XLines->matches_exception(New); if (!e) { |
