mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Fix load warning test.
This commit is contained in:
@@ -137,7 +137,7 @@ bool LoadManager::shouldWarn(LoadSource& source) const
|
||||
|
||||
int now = upTime();
|
||||
canonicalize(source, now);
|
||||
if (source.isPrivileged() || (source.mBalance < mDebitWarn) || (source.mLastWarning == now))
|
||||
if (source.isPrivileged() || (source.mBalance > mDebitWarn) || (source.mLastWarning == now))
|
||||
return false;
|
||||
|
||||
source.mLastWarning = now;
|
||||
|
||||
Reference in New Issue
Block a user