cvs: pear /Net_SmartIRC SmartIRC.php
| From: | Mirco 'meebey' Bauer | Date: | Tue, 29 Jul 2003 19:30:58 +0000 |
| Subject: | cvs: pear /Net_SmartIRC SmartIRC.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-11808@lists.php.net to get a copy of this message | ||
meebey Tue Jul 29 15:30:58 2003 EDT
Modified files:
/pear/Net_SmartIRC SmartIRC.php
Log:
- listenFor() now stores the whole parsed data packet instead of just the message.
Index: pear/Net_SmartIRC/SmartIRC.php
diff -u pear/Net_SmartIRC/SmartIRC.php:1.71 pear/Net_SmartIRC/SmartIRC.php:1.72
--- pear/Net_SmartIRC/SmartIRC.php:1.71 Tue Jul 29 15:16:23 2003
+++ pear/Net_SmartIRC/SmartIRC.php Tue Jul 29 15:30:58 2003
@@ -1,9 +1,9 @@
<?php
/**
- * $Id: SmartIRC.php,v 1.71 2003/07/29 19:16:23 meebey Exp $
- * $Revision: 1.71 $
+ * $Id: SmartIRC.php,v 1.72 2003/07/29 19:30:58 meebey Exp $
+ * $Revision: 1.72 $
* $Author: meebey $
- * $Date: 2003/07/29 19:16:23 $
+ * $Date: 2003/07/29 19:30:58 $
*
* 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.71 $)');
+define('SMARTIRC_VERSION', '0.6.0-dev ($Revision: 1.72 $)');
define('SMARTIRC_VERSIONSTRING', 'Net_SmartIRC '.SMARTIRC_VERSION);
/**
@@ -2792,7 +2792,7 @@
function handler(&$irc, &$ircdata)
{
$irc->log(SMARTIRC_DEBUG_ACTIONHANDLER, 'DEBUG_ACTIONHANDLER: listenfor handler
called', __FILE__, __LINE__);
- $this->result[] = $ircdata->message;
+ $this->result[] = $ircdata;
$irc->disconnect(true);
}
}