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();
|
ServerInstance->XLines->ApplyLines();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
delete kl;
|
delete kl;
|
||||||
|
return;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case DNSBLConfEntry::I_GLINE:
|
case DNSBLConfEntry::I_GLINE:
|
||||||
@ -156,7 +159,10 @@ class DNSBLResolver : public Resolver
|
|||||||
ServerInstance->XLines->ApplyLines();
|
ServerInstance->XLines->ApplyLines();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
delete gl;
|
delete gl;
|
||||||
|
return;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case DNSBLConfEntry::I_ZLINE:
|
case DNSBLConfEntry::I_ZLINE:
|
||||||
@ -171,7 +177,10 @@ class DNSBLResolver : public Resolver
|
|||||||
ServerInstance->XLines->ApplyLines();
|
ServerInstance->XLines->ApplyLines();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
delete zl;
|
delete zl;
|
||||||
|
return;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case DNSBLConfEntry::I_UNKNOWN:
|
case DNSBLConfEntry::I_UNKNOWN:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user