Only run pingmsg after negative has completed

Mark Veidemanis 2 years ago
parent 415a0b1135
commit e4c1d80250

@ -676,8 +676,10 @@ class IRCBot(IRCClient):
)
return
else:
self._negativePass = True
self._negativePass = True # if it's disabled, we still want the next block to run
# Only run if negativepass has completed, or exempted as above
if self._negativePass:
if sinst["check"]:
if sinst["ping"]:
self.msg(sinst["entity"], sinst["pingmsg"])

Loading…
Cancel
Save