cvs: pear /Net_SmartIRC SmartIRC.php
| From: | Mirco 'meebey' Bauer | Date: | Fri, 12 Mar 2004 23:17:45 +0000 |
| Subject: | cvs: pear /Net_SmartIRC SmartIRC.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-17356@lists.php.net to get a copy of this message | ||
meebey Fri Mar 12 18:17:45 2004 EDT
Modified files:
/pear/Net_SmartIRC SmartIRC.php
Log:
- php5 fixes (closes: PEAR bug #891)
http://cvs.php.net/diff.php/pear/Net_SmartIRC/SmartIRC.php?r1=1.78&r2=1.79&ty=u
Index: pear/Net_SmartIRC/SmartIRC.php
diff -u pear/Net_SmartIRC/SmartIRC.php:1.78 pear/Net_SmartIRC/SmartIRC.php:1.79
--- pear/Net_SmartIRC/SmartIRC.php:1.78 Fri Oct 24 18:05:56 2003
+++ pear/Net_SmartIRC/SmartIRC.php Fri Mar 12 18:17:45 2004
@@ -1,9 +1,9 @@
<?php
/**
- * $Id: SmartIRC.php,v 1.78 2003/10/24 22:05:56 meebey Exp $
- * $Revision: 1.78 $
+ * $Id: SmartIRC.php,v 1.79 2004/03/12 23:17:45 meebey Exp $
+ * $Revision: 1.79 $
* $Author: meebey $
- * $Date: 2003/10/24 22:05:56 $
+ * $Date: 2004/03/12 23:17:45 $
*
* Net_SmartIRC
* This is a PHP class for communication with IRC networks,
@@ -44,7 +44,7 @@
*/
// ------- PHP code ----------
include_once('SmartIRC/defines.php');
-define('SMARTIRC_VERSION', '0.6.0-dev ($Revision: 1.78 $)');
+define('SMARTIRC_VERSION', '0.6.0-dev ($Revision: 1.79 $)');
define('SMARTIRC_VERSIONSTRING', 'Net_SmartIRC '.SMARTIRC_VERSION);
/**
@@ -1573,7 +1573,7 @@
$modulecount = count($this->_modules);
for ($i = 0; $i < $modulecount; $i++) {
$module = &$this->_modules[$i];
- $modulename = get_class($module);
+ $modulename = strtolower(get_class($module));
if ($modulename == 'net_smartirc_module_'.$name) {
$module->module_exit($this);
@@ -2461,7 +2461,7 @@
function isError($object)
{
- return (bool)(is_object($object) && (get_class($object) ==
'net_smartirc_error'));
+ return (bool)(is_object($object) && (strtolower(get_class($object)) ==
'net_smartirc_error'));
}
function &throwError($message)