mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 11:09:04 -04:00
Only send a local X-line SNOTICE.
Spanningtree sends a local SNOTICE to 'X' when adding a line. No need to send a global SNOTICE from here.
This commit is contained in:
parent
998b407b2a
commit
695fb03219
@ -158,7 +158,7 @@ class DNSBLResolver : public DNS::Request
|
||||
"*", them->GetIPString());
|
||||
if (ServerInstance->XLines->AddLine(kl,NULL))
|
||||
{
|
||||
ServerInstance->SNO->WriteGlobalSno('x', "K-line added due to DNSBL match on *@%s to expire in %s (on %s): %s",
|
||||
ServerInstance->SNO->WriteToSnoMask('x', "K-line added due to DNSBL match on *@%s to expire in %s (on %s): %s",
|
||||
them->GetIPString().c_str(), InspIRCd::DurationString(kl->duration).c_str(),
|
||||
InspIRCd::TimeString(kl->expiry).c_str(), reason.c_str());
|
||||
ServerInstance->XLines->ApplyLines();
|
||||
@ -176,7 +176,7 @@ class DNSBLResolver : public DNS::Request
|
||||
"*", them->GetIPString());
|
||||
if (ServerInstance->XLines->AddLine(gl,NULL))
|
||||
{
|
||||
ServerInstance->SNO->WriteGlobalSno('x', "G-line added due to DNSBL match on *@%s to expire in %s (on %s): %s",
|
||||
ServerInstance->SNO->WriteToSnoMask('x', "G-line added due to DNSBL match on *@%s to expire in %s (on %s): %s",
|
||||
them->GetIPString().c_str(), InspIRCd::DurationString(gl->duration).c_str(),
|
||||
InspIRCd::TimeString(gl->expiry).c_str(), reason.c_str());
|
||||
ServerInstance->XLines->ApplyLines();
|
||||
@ -194,7 +194,7 @@ class DNSBLResolver : public DNS::Request
|
||||
them->GetIPString());
|
||||
if (ServerInstance->XLines->AddLine(zl,NULL))
|
||||
{
|
||||
ServerInstance->SNO->WriteGlobalSno('x', "Z-line added due to DNSBL match on %s to expire in %s (on %s): %s",
|
||||
ServerInstance->SNO->WriteToSnoMask('x', "Z-line added due to DNSBL match on %s to expire in %s (on %s): %s",
|
||||
them->GetIPString().c_str(), InspIRCd::DurationString(zl->duration).c_str(),
|
||||
InspIRCd::TimeString(zl->expiry).c_str(), reason.c_str());
|
||||
ServerInstance->XLines->ApplyLines();
|
||||
|
Loading…
x
Reference in New Issue
Block a user