mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Only fire when enabled
This commit is contained in:
parent
c1b5dbc090
commit
4bf77d2e7a
@ -186,7 +186,7 @@ class ServerInstance:
|
||||
webhook_provider = WebhookFactory.create_provider(
|
||||
webhook["webhook_type"]
|
||||
)
|
||||
if res is not False:
|
||||
if res is not False and swebhook.enabled:
|
||||
webhook_provider.send(
|
||||
server_name=args[0].name,
|
||||
title=webhook["name"],
|
||||
|
Loading…
Reference in New Issue
Block a user