default relay-extras to False
This commit is contained in:
parent
b7b2f31c1c
commit
71adca1492
1 changed files with 2 additions and 2 deletions
|
@ -70,11 +70,11 @@ class Module(ModuleManager.BaseModule):
|
||||||
@utils.kwarg("priority", EventManager.PRIORITY_LOW)
|
@utils.kwarg("priority", EventManager.PRIORITY_LOW)
|
||||||
def formatted_extra(self, event):
|
def formatted_extra(self, event):
|
||||||
if event["channel"]:
|
if event["channel"]:
|
||||||
if event["channel"].get_setting("relay-extras", True):
|
if event["channel"].get_setting("relay-extras", False):
|
||||||
self._relay(event, event["channel"])
|
self._relay(event, event["channel"])
|
||||||
elif event["user"]:
|
elif event["user"]:
|
||||||
for channel in event["user"].channels:
|
for channel in event["user"].channels:
|
||||||
if channel.get_setting("relay-extras", True):
|
if channel.get_setting("relay-extras", False):
|
||||||
self._relay(event, channel)
|
self._relay(event, channel)
|
||||||
|
|
||||||
@utils.hook("received.command.relaygroup")
|
@utils.hook("received.command.relaygroup")
|
||||||
|
|
Loading…
Reference in a new issue