mirror of
https://github.com/znc/znc.git
synced 2026-08-07 01:13:25 +02:00
missed a spot
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@654 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+2
-2
@@ -1122,7 +1122,7 @@ void CPerlSock::Connected()
|
||||
}
|
||||
|
||||
// # OnConnectionFrom( $sockhandle, $remotehost, $remoteport )
|
||||
bool CPerlSock::ConnectionFrom( const CS_STRING & sHost, int iPort )
|
||||
bool CPerlSock::ConnectionFrom( const CS_STRING & sHost, u_short iPort )
|
||||
{
|
||||
SetupArgs();
|
||||
AddArg( sHost );
|
||||
@@ -1189,7 +1189,7 @@ CPerlSock::~CPerlSock()
|
||||
CallBack( "OnSockDestroy" );
|
||||
}
|
||||
|
||||
Csock *CPerlSock::GetSockObj( const CS_STRING & sHostname, int iPort )
|
||||
Csock *CPerlSock::GetSockObj( const CS_STRING & sHostname, u_short iPort )
|
||||
{
|
||||
CPerlSock *p = new CPerlSock( sHostname, iPort );
|
||||
p->SetParentFD( GetRSock() );
|
||||
|
||||
Reference in New Issue
Block a user