mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 03:59:03 -04:00
I dont know who said we keep going when we get a match, because thats just silly. we stop at the first connect block that matches all critera of the connection.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9738 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
0276e5138a
commit
5e854d57e3
@ -1765,8 +1765,9 @@ ConnectClass* User::SetClass(const std::string &explicit_name)
|
||||
}
|
||||
}
|
||||
|
||||
/* we match this class, BUT! we must keep checking in case a further class is type deny and also matches us. */
|
||||
/* we stop at the first class that meets ALL critera. */
|
||||
found = c;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user