silence.py's is-silenced export is no longer used

This commit is contained in:
jesopo 2020-02-19 17:29:34 +00:00
parent 3453479235
commit 3ccb594e10

View file

@ -7,9 +7,6 @@ from src import EventManager, ModuleManager, utils
SILENCE_TIME = 60*5 # 5 minutes
class Module(ModuleManager.BaseModule):
def on_load(self):
self.exports.add("is-silenced", self._is_silenced)
def _is_silenced(self, target):
silence_until = target.get_setting("silence-until", None)
if not silence_until == None: