mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 03:59:03 -04:00
Jason, try this..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9746 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
ad9f0df06a
commit
0bed81e9d7
@ -525,10 +525,10 @@ bool DoConnect(ServerConfig* conf, const char*, char**, ValueList &values, int*)
|
||||
{
|
||||
ConnectClass* cc = *item;
|
||||
if (
|
||||
(*name && (cc->GetName() == name)) ||
|
||||
(*allow && (cc->GetHost() == allow)) ||
|
||||
(*deny && (cc->GetHost() == deny)) ||
|
||||
(port && (cc->GetPort() == port))
|
||||
((*name && (cc->GetName() == name)) || // if the name is the same
|
||||
(*allow && (cc->GetHost() == allow)) || // or the allow is the same
|
||||
(*deny && (cc->GetHost() == deny))) && // or the deny is the same
|
||||
(!port || port && (cc->GetPort() == port)) // and there is no port, or there is a port and the port is the same
|
||||
)
|
||||
{
|
||||
/* reenable class so users can be shoved into it :P */
|
||||
|
Loading…
x
Reference in New Issue
Block a user