mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Fix load manager buglets.
This commit is contained in:
@@ -152,7 +152,7 @@ bool LoadManager::shouldCutoff(LoadSource& source) const
|
||||
boost::mutex::scoped_lock sl(mLock);
|
||||
int now = upTime();
|
||||
canonicalize(source, now);
|
||||
if (!source.isPrivileged() || (source.mBalance > mDebitLimit))
|
||||
if (source.isPrivileged() || (source.mBalance > mDebitLimit))
|
||||
return false;
|
||||
}
|
||||
logDisconnect(source.getName());
|
||||
|
||||
Reference in New Issue
Block a user