cvs: pearbot / PEARbot.php
[email protected] ("Mirco 'meebey' Bauer") Sun, 02 Feb 2003 18:35:04 -0000
| Newsgroups | php.pear.bot |
|---|---|
| Message-ID | <cvsmeebey1044210904@cvsserver> |
meebey Sun Feb 2 13:35:04 2003 EDT
Modified files:
/pearbot PEARbot.php
Log:
- activated autoretry and autoreconnect.
Index: pearbot/PEARbot.php
diff -u pearbot/PEARbot.php:1.3 pearbot/PEARbot.php:1.4
--- pearbot/PEARbot.php:1.3 Sun Feb 2 09:14:33 2003
+++ pearbot/PEARbot.php Sun Feb 2 13:35:04 2003
@@ -1,7 +1,7 @@
#!/home/meebey/PEARbot/php
<?php
/**
- * $Id: PEARbot.php,v 1.3 2003/02/02 14:14:33 imajes Exp $
+ * $Id: PEARbot.php,v 1.4 2003/02/02 18:35:04 meebey Exp $
*
* PEARbot
* this is an IRC service bot for #pear written in PHP
@@ -132,6 +132,8 @@
$irc->setChannelSynching(true);
$irc->setDebug(SMARTIRC_DEBUG_ALL);
$irc->setUseSockets(true);
+$irc->setAutoRetry(true);
+$irc->setAutoReconnect(true);
$irc->registerActionhandler(SMARTIRC_TYPE_JOIN, '.*', $bot, 'onjoin');
$irc->connect('efnet.skynet.be', 6668);
$irc->login($config['nick'], $config['real_name'], 8, $config['alt_nick']);