From 321de93eeb0f687ffb8103bbedf30288c35ce74d Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 6 Oct 2006 21:35:37 +0000 Subject: WriteOpers when reaching the softlimit git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5442 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/users.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/users.cpp b/src/users.cpp index cce72c5b8..94b969ca0 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -945,6 +945,7 @@ void userrec::AddClient(InspIRCd* Instance, int socket, int port, bool iscached, if ((Instance->local_users.size() > Instance->Config->SoftLimit) || (Instance->local_users.size() >= MAXCLIENTS)) { Instance->Log(DEBUG,"Check softlimit failed"); + Instance->WriteOpers("*** Warning: softlimit value has been reached: %d clients", Instance->Config->SoftLimit); userrec::QuitUser(Instance, New,"No more connections allowed"); return; } -- cgit v1.2.3