This commit is contained in:
David Baker 2017-09-27 10:26:13 +01:00
parent 1786b0e768
commit 60c78666ab
2 changed files with 2 additions and 0 deletions

View file

@ -13,6 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
class SpamChecker(object):
def __init__(self, hs):
self.spam_checker = None

View file

@ -17,6 +17,7 @@ import importlib
from synapse.config._base import ConfigError
def load_module(provider):
""" Loads a module with its config
Take a dict with keys 'module' (the module name) and 'config'