cvs: pear /Net_IRC/examples chan_copy.php
| From: | Tomas V.V.Cox | Date: | Sun, 28 Apr 2002 14:26:07 +0000 |
| Subject: | cvs: pear /Net_IRC/examples chan_copy.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-3602@lists.php.net to get a copy of this message | ||
cox Sun Apr 28 10:26:07 2002 EDT
Modified files:
/pear/Net_IRC/examples chan_copy.php
Log:
Use readEvent() instead of loopRead()
Index: pear/Net_IRC/examples/chan_copy.php
diff -u pear/Net_IRC/examples/chan_copy.php:1.1 pear/Net_IRC/examples/chan_copy.php:1.2
--- pear/Net_IRC/examples/chan_copy.php:1.1 Tue Apr 23 22:28:24 2002
+++ pear/Net_IRC/examples/chan_copy.php Sun Apr 28 10:26:07 2002
@@ -101,9 +101,9 @@
$net2->command("JOIN $channel");
while(true) {
- $net1->loopRead(null, null, true);
+ $net1->readEvent();
usleep(250000);
- $net2->loopRead(null, null, true);
+ $net2->readEvent();
usleep(250000);
}
?>