mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 19:19:02 -04:00
m_dnsbl Don't send snotice when the {G|K|Z}line already exists
Fixes issue #717 reported by @Robby-
This commit is contained in:
parent
0f91b6173b
commit
3bf4424602
@ -141,7 +141,10 @@ class DNSBLResolver : public Resolver
|
||||
ServerInstance->XLines->ApplyLines();
|
||||
}
|
||||
else
|
||||
{
|
||||
delete kl;
|
||||
return;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case DNSBLConfEntry::I_GLINE:
|
||||
@ -156,7 +159,10 @@ class DNSBLResolver : public Resolver
|
||||
ServerInstance->XLines->ApplyLines();
|
||||
}
|
||||
else
|
||||
{
|
||||
delete gl;
|
||||
return;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case DNSBLConfEntry::I_ZLINE:
|
||||
@ -171,7 +177,10 @@ class DNSBLResolver : public Resolver
|
||||
ServerInstance->XLines->ApplyLines();
|
||||
}
|
||||
else
|
||||
{
|
||||
delete zl;
|
||||
return;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case DNSBLConfEntry::I_UNKNOWN:
|
||||
|
Loading…
x
Reference in New Issue
Block a user