cvs: pear /Net_SmartIRC SmartIRC.php
| From: | Mirco 'meebey' Bauer | Date: | Mon, 09 Jun 2003 12:22:39 +0000 |
| Subject: | cvs: pear /Net_SmartIRC SmartIRC.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-10802@lists.php.net to get a copy of this message | ||
meebey Mon Jun 9 08:22:39 2003 EDT
Modified files:
/pear/Net_SmartIRC SmartIRC.php
Log:
- set default value of _logfilefp to 0, otherwise the log appending doesn't work.
Index: pear/Net_SmartIRC/SmartIRC.php
diff -u pear/Net_SmartIRC/SmartIRC.php:1.39 pear/Net_SmartIRC/SmartIRC.php:1.40
--- pear/Net_SmartIRC/SmartIRC.php:1.39 Mon Jun 9 08:02:22 2003
+++ pear/Net_SmartIRC/SmartIRC.php Mon Jun 9 08:22:39 2003
@@ -1,9 +1,9 @@
<?php
/**
- * $Id: SmartIRC.php,v 1.39 2003/06/09 12:02:22 meebey Exp $
- * $Revision: 1.39 $
+ * $Id: SmartIRC.php,v 1.40 2003/06/09 12:22:39 meebey Exp $
+ * $Revision: 1.40 $
* $Author: meebey $
- * $Date: 2003/06/09 12:02:22 $
+ * $Date: 2003/06/09 12:22:39 $
*
* Net_SmartIRC
* Communication for PHP with IRC networks
@@ -163,7 +163,7 @@
* @var resource
* @access private
*/
- var $_logfilefp;
+ var $_logfilefp = 0;
/**
* @var string
@@ -968,7 +968,6 @@
$this->_updatestate();
$this->log(SMARTIRC_DEBUG_CONNECTION, 'DEBUG_CONNECTION: disconnected',
__FILE__, __LINE__);
-
} else {
return false;
}