1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-09 08:23:12 +02:00
set::central-blocklist::spamreport and ::spamreport-enabled are now GONE.
We now require a normal spamreport block, just like for other spamreport
functionality. So, if you want to enable this feature, use:
spamreport unrealircd { type central-spamreport; }

See https://www.unrealircd.org/docs/Central_spamreport for all info.

You can use CBL with central spamreport or central spamreport without CBL.
All explained at that URL.
This commit is contained in:
Bram Matthys
2023-11-25 11:36:21 +01:00
parent d08160baca
commit 4da58dde41
6 changed files with 91 additions and 104 deletions
+10
View File
@@ -1897,6 +1897,16 @@ const char *get_central_api_key_default_handler(void)
return NULL;
}
int central_spamreport_default_handler(Client *target)
{
return 0;
}
int central_spamreport_enabled_default_handler(void)
{
return 0;
}
/** my_timegm: mktime()-like function which will use GMT/UTC.
* Strangely enough there is no standard function for this.
* On some *NIX OS's timegm() may be available, sometimes only