diff options
| author | 2008-04-02 17:34:27 +0000 | |
|---|---|---|
| committer | 2008-04-02 17:34:27 +0000 | |
| commit | 29eea851b2daa68d57aeb0d00b82273414fc44d6 (patch) | |
| tree | 13bb648dfacd85503ddaed438338cffac8a41b1c /src/usermanager.cpp | |
| parent | Remove MAXCLIENTS, this is supported at runtime by the softlimit anyway. (diff) | |
| download | inspircd++-29eea851b2daa68d57aeb0d00b82273414fc44d6.tar.gz inspircd++-29eea851b2daa68d57aeb0d00b82273414fc44d6.tar.bz2 inspircd++-29eea851b2daa68d57aeb0d00b82273414fc44d6.zip | |
Squish a warning
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9266 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/usermanager.cpp')
| -rw-r--r-- | src/usermanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usermanager.cpp b/src/usermanager.cpp index 59ac3fce9..ecbd683b7 100644 --- a/src/usermanager.cpp +++ b/src/usermanager.cpp @@ -108,7 +108,7 @@ void UserManager::AddClient(InspIRCd* Instance, int socket, int port, bool iscac this->local_users.push_back(New); - if ((this->local_users.size() > Instance->Config->SoftLimit) || (this->local_users.size() >= Instance->SE->GetMaxFds())) + if ((this->local_users.size() > Instance->Config->SoftLimit) || (this->local_users.size() >= (unsigned int)Instance->SE->GetMaxFds())) { Instance->SNO->WriteToSnoMask('A', "Warning: softlimit value has been reached: %d clients", Instance->Config->SoftLimit); User::QuitUser(Instance, New,"No more connections allowed"); |
