]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/other/smux/sensors.h
Fix TariffChange sensor
[stg.git] / projects / stargazer / plugins / other / smux / sensors.h
index f751c82ebb689b59b75b2534b90ec7f93c109700..3337323e952803f5221c419da84c4f08aef1322e 100644 (file)
@@ -160,7 +160,7 @@ class TariffChangeUsersSensor : public UsersSensor {
 
     private:
         bool UserPredicate(USER_PTR userPtr) const
-        { return userPtr->GetProperty().nextTariff.ConstData().empty(); }
+        { return !userPtr->GetProperty().nextTariff.ConstData().empty(); }
 };
 
 class TotalTariffsSensor : public Sensor {