mirror of
https://gitlab.com/chicken-riders/RcGcDw.git
synced 2025-02-23 00:24:09 +00:00
Add abuselog_webhookURL
This commit is contained in:
parent
b46780506a
commit
f48b0ad695
|
@ -279,7 +279,7 @@ def abuselog_processing(entry):
|
|||
action = "abuselog"
|
||||
if action in settings["ignored"]:
|
||||
return
|
||||
context = Context(settings["appearance"]["mode"], "abuselog", settings["webhookURL"], client, formatters_i18n, settings)
|
||||
context = Context(settings["appearance"]["mode"], "abuselog", settings.get("abuselog_webhookURL", settings["webhookURL"]), client, formatters_i18n, settings)
|
||||
context.event = action
|
||||
run_hooks(pre_hooks, context, entry)
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue