mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 10:39:02 -04:00
Include the network name in the DroneBL example config.
This commit is contained in:
parent
f02704524c
commit
f49ed93cd9
@ -8,4 +8,4 @@
|
||||
records="3,5,6,7,8,9,10,11,13,14,15,16,17,19"
|
||||
action="zline"
|
||||
duration="7d"
|
||||
reason="You are listed in DroneBL. Please visit https://dronebl.org/lookup.do?ip=%ip% for more information.">
|
||||
reason="You are listed in DroneBL. Please visit https://dronebl.org/lookup.do?ip=%ip%&network=%network% for more information.">
|
||||
|
@ -366,9 +366,10 @@ public:
|
||||
if (match)
|
||||
{
|
||||
const std::string reason = Template::Replace(config->reason, {
|
||||
{ "dnsbl", config->name },
|
||||
{ "ip", them->GetAddress() },
|
||||
{ "result", ConvToStr(result) },
|
||||
{ "dnsbl", config->name },
|
||||
{ "ip", them->GetAddress() },
|
||||
{ "network", ServerInstance->Config->Network },
|
||||
{ "result", ConvToStr(result) },
|
||||
});
|
||||
|
||||
config->stats_hits++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user