mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 12:09:03 -04:00
Fix for Jason's bug.. this needs more thought, though. I'll probably whip up something tonight.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9742 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
3e3b3d18a4
commit
9010a88320
@ -524,7 +524,12 @@ bool DoConnect(ServerConfig* conf, const char*, char**, ValueList &values, int*)
|
||||
for (ClassVector::iterator item = conf->Classes.begin(); item != conf->Classes.end(); ++item)
|
||||
{
|
||||
ConnectClass* cc = *item;
|
||||
if ((*name && (cc->GetName() == name)) || (*allow && (cc->GetHost() == allow)) || (*deny && (cc->GetHost() == deny)))
|
||||
if (
|
||||
(*name && (cc->GetName() == name)) ||
|
||||
(*allow && (cc->GetHost() == allow)) ||
|
||||
(*deny && (cc->GetHost() == deny)) ||
|
||||
(port && (cc->GetPort() == port))
|
||||
)
|
||||
{
|
||||
/* reenable class so users can be shoved into it :P */
|
||||
cc->SetDisabled(false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user