Fix load warning test.

This commit is contained in:
JoelKatz
2013-03-08 17:48:03 -08:00
parent 0a7c67be29
commit 7d688bc346

View File

@@ -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;