Change message_filter.py _name to "Filter"
This commit is contained in:
parent
807e239a2b
commit
1e03a40f8f
1 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,8 @@ import re
|
|||
from src import ModuleManager, utils
|
||||
|
||||
class Module(ModuleManager.BaseModule):
|
||||
_name = "Filter"
|
||||
|
||||
def _get_filters(self, server, target):
|
||||
filters = server.get_setting("message-filters", [])
|
||||
filters.extend(target.get_setting("message-filters", []))
|
||||
|
|
Loading…
Reference in a new issue