cvs: pearbot / PEARbot.php

From: Date: Mon, 03 Feb 2003 15:58:26 +0000
Subject: cvs: pearbot / PEARbot.php
Groups: php.pear.bot 
Request: Send a blank email to pear-bot+get-9@lists.php.net to get a copy of this message
meebey Mon Feb 3 10:58:26 2003 EDT Modified files: /pearbot PEARbot.php Log: - changed receive- and transmittimeout to 600 seconds. Index: pearbot/PEARbot.php diff -u pearbot/PEARbot.php:1.4 pearbot/PEARbot.php:1.5 --- pearbot/PEARbot.php:1.4 Sun Feb 2 13:35:04 2003 +++ pearbot/PEARbot.php Mon Feb 3 10:58:26 2003 @@ -1,7 +1,7 @@ #!/home/meebey/PEARbot/php <?php /** - * $Id: PEARbot.php,v 1.4 2003/02/02 18:35:04 meebey Exp $ + * $Id: PEARbot.php,v 1.5 2003/02/03 15:58:26 meebey Exp $ * * PEARbot * this is an IRC service bot for #pear written in PHP @@ -134,9 +134,11 @@ $irc->setUseSockets(true); $irc->setAutoRetry(true); $irc->setAutoReconnect(true); +$irc->setReceiveTimeout(600); +$irc->setTransmitTimeout(600); $irc->registerActionhandler(SMARTIRC_TYPE_JOIN, '.*', $bot, 'onjoin'); $irc->connect('efnet.skynet.be', 6668); -$irc->login($config['nick'], $config['real_name'], 8, $config['alt_nick']); +$irc->login($config['nick'], $config['real_name'], 8, $config['ident']); $irc->join('#pear'); $irc->listen(); $irc->disconnect();

« previous php.pear.bot (#9) next »