'continue' -> 'return' in moules/badwords.py
This commit is contained in:
parent
82f8a23503
commit
73077b9bbf
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ class Module(ModuleManager.BaseModule):
|
|||
@utils.hook("received.message.channel")
|
||||
def channel_message(self, event):
|
||||
if event["channel"].mode_or_above(event["user"], "v"):
|
||||
continue
|
||||
return
|
||||
|
||||
badwords = event["channel"].get_setting("badwords", [])
|
||||
message_lower = event["message"].lower()
|
||||
|
|
Loading…
Reference in a new issue