mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-14 13:01:53 +02:00
Port whitelist acl check over from Servent to Connection
This commit is contained in:
parent
5d9685ba5c
commit
607042b865
@ -199,6 +199,12 @@ Connection::checkACL()
|
||||
return;
|
||||
}
|
||||
|
||||
if ( Servent::isIPWhitelisted( m_peerIpAddress ) )
|
||||
{
|
||||
QTimer::singleShot( 0, this, SLOT( doSetup() ) );
|
||||
return;
|
||||
}
|
||||
|
||||
QString nodeid = property( "nodeid" ).toString();
|
||||
QString bareName = name().contains( '/' ) ? name().left( name().indexOf( "/" ) ) : name();
|
||||
tDebug( LOGVERBOSE ) << Q_FUNC_INFO << "Checking ACL for" << name();
|
||||
|
Loading…
x
Reference in New Issue
Block a user