default relay-extras to False

This commit is contained in:
jesopo 2019-09-02 16:16:28 +01:00
parent b7b2f31c1c
commit 71adca1492

View file

@ -70,11 +70,11 @@ class Module(ModuleManager.BaseModule):
@utils.kwarg("priority", EventManager.PRIORITY_LOW)
def formatted_extra(self, event):
if event["channel"]:
if event["channel"].get_setting("relay-extras", True):
if event["channel"].get_setting("relay-extras", False):
self._relay(event, event["channel"])
elif event["user"]:
for channel in event["user"].channels:
if channel.get_setting("relay-extras", True):
if channel.get_setting("relay-extras", False):
self._relay(event, channel)
@utils.hook("received.command.relaygroup")