1
0
mirror of https://github.com/anope/anope.git synced 2026-07-08 02:03:13 +02:00

Only match users against the more "serious" extbans (ones which prevent users from joining)

This commit is contained in:
Adam
2011-08-25 02:42:55 -04:00
committed by DukePyrolator
parent 6dacec22a4
commit 1571508aac
2 changed files with 2 additions and 7 deletions
+1 -4
View File
@@ -318,10 +318,7 @@ class InspIRCdExtBan : public ChannelModeList
{
const Anope::string &mask = e->mask;
if (mask.find("A:") == 0 || mask.find("B:") == 0 || mask.find("c:") == 0 || mask.find("C:") == 0 ||
mask.find("m:") == 0 || mask.find("N:") == 0 || mask.find("p:") == 0 || mask.find("Q:") == 0 ||
mask.find("N:") == 0 || mask.find("p:") == 0 || mask.find("Q:") == 0 || mask.find("S:") == 0 ||
mask.find("T:") == 0)
if (mask.find("m:") == 0 || mask.find("N:") == 0)
{
Anope::string real_mask = mask.substr(2);
+1 -3
View File
@@ -329,9 +329,7 @@ class InspIRCdExtBan : public ChannelModeList
{
const Anope::string &mask = e->mask;
if (mask.find("A:") == 0 || mask.find("B:") == 0 || mask.find("c:") == 0 || mask.find("C:") == 0 ||
mask.find("m:") == 0 || mask.find("N:") == 0 || mask.find("p:") == 0 || mask.find("Q:") == 0 ||
mask.find("S:") == 0 || mask.find("T:") == 0)
if (mask.find("m:") == 0 || mask.find("N:") == 0)
{
Anope::string real_mask = mask.substr(3);