From c67c67abe72800110412b5ca77f752d0b81cb246 Mon Sep 17 00:00:00 2001 From: imaginos Date: Mon, 13 Feb 2006 06:07:05 +0000 Subject: [PATCH] missed a spot git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@654 726aef4b-f618-498e-8847-2d620e286838 --- modules/modperl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/modperl.cpp b/modules/modperl.cpp index 59663757..91809ac6 100644 --- a/modules/modperl.cpp +++ b/modules/modperl.cpp @@ -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() );