mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-09 08:23:12 +02:00
Update central spamreport, https://www.unrealircd.org/docs/Central_spamreport
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:
+10
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user