From f216300539ffc655370bb996365acb5697991abb Mon Sep 17 00:00:00 2001 From: Cort Buffington Date: Sun, 30 Jul 2017 11:02:37 -0500 Subject: [PATCH] Logic error where RESET TGID caused unintended action --- confbridge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confbridge.py b/confbridge.py index fed3e7d..ddf59f7 100755 --- a/confbridge.py +++ b/confbridge.py @@ -418,7 +418,7 @@ class confbridgeIPSC(IPSC): _system['TIMER'] = now + _system['TIMEOUT'] self._logger.info('(%s) Bridge: %s, timeout timer reset to: %s', self._system, _bridge, _system['TIMER'] - now) # Cancel the timer if we've enabled an "ON" type timeout - if _system['ACTIVE'] == True and _system['TO_TYPE'] == 'ON': + if _system['ACTIVE'] == True and _system['TO_TYPE'] == 'ON' and _dst_group in _system['OFF']: _system['TIMER'] = now self._logger.info('(%s) Bridge: %s set to ON with and "OFF" timer rule: timeout timer cancelled', self._system, _bridge)