Don't run loop on treatment change if it's an SMB.

This commit is contained in:
Johannes Mockenhaupt 2018-02-02 18:59:05 +01:00
parent eedd2ee28b
commit 5adaff6bc6
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1

View file

@ -151,7 +151,9 @@ public class LoopPlugin implements PluginBase {
@Subscribe @Subscribe
public void onStatusEvent(final EventTreatmentChange ev) { public void onStatusEvent(final EventTreatmentChange ev) {
invoke("EventTreatmentChange", true); if (ev.treatment == null || !ev.treatment.isSMB){
invoke("EventTreatmentChange", true);
}
} }
@Subscribe @Subscribe