summary refs log tree commit diff
path: root/synapse/config/third_party_event_rules.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/config/third_party_event_rules.py')
-rw-r--r--synapse/config/third_party_event_rules.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/third_party_event_rules.py b/synapse/config/third_party_event_rules.py
index 1bedd607b6..b3431441b9 100644
--- a/synapse/config/third_party_event_rules.py
+++ b/synapse/config/third_party_event_rules.py
@@ -26,7 +26,7 @@ class ThirdPartyRulesConfig(Config):
         if provider is not None:
             self.third_party_event_rules = load_module(provider)
 
-    def default_config(self, **kwargs):
+    def generate_config_section(self, **kwargs):
         return """\
         # Server admins can define a Python module that implements extra rules for
         # allowing or denying incoming events. In order to work, this module needs to