if_silenced_f
-> is_silenced_f
This commit is contained in:
parent
0fbf993201
commit
0625102fa7
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
if is_ignored_f(event["server"], event["user"], "karma"):
|
if is_ignored_f(event["server"], event["user"], "karma"):
|
||||||
return
|
return
|
||||||
|
|
||||||
if_silenced_f = self.exports.get_one("is-silenced", lambda _: False)
|
is_silenced_f = self.exports.get_one("is-silenced", lambda _: False)
|
||||||
if is_silenced_f(event["channel"]):
|
if is_silenced_f(event["channel"]):
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue