gave access to SetTimeout

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@359 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
imaginos
2005-05-26 02:13:19 +00:00
parent 02be1cce56
commit 0a89cfb57b
2 changed files with 34 additions and 3 deletions
+6 -2
View File
@@ -53,7 +53,6 @@ sub CORELoadMod
{
$Module = $1;
}
if ( !$Module )
{
ZNC::PutModule( "Invalid Module requested!" );
@@ -106,7 +105,6 @@ sub CORELoadMod
require $FileName;
my $NewMod = $Username . $Module;
my $obj = new $NewMod();
if ( !$obj )
{
@@ -415,6 +413,12 @@ sub Close
ZNC::CloseSock( $me->{fd} );
}
sub SetTimeout
{
my ( $me, $timeout ) = @_;
ZNC::SetSockValue( $me->{fd}, "timeout", $timeout );
}
sub Listen
{
my ( $me, $port, $bindhost, $bEnableReadline, $bUseSSL ) = @_;