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:
imaginos
2006-02-13 06:07:05 +00:00
parent 380023e853
commit c67c67abe7
+2 -2
View File
@@ -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() );