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"
|
action = "abuselog"
|
||||||
if action in settings["ignored"]:
|
if action in settings["ignored"]:
|
||||||
return
|
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
|
context.event = action
|
||||||
run_hooks(pre_hooks, context, entry)
|
run_hooks(pre_hooks, context, entry)
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue