Permalink
Browse files

Use readEvent() instead of loopRead()

git-svn-id: http://svn.php.net/repository/pear/packages/Net_IRC/trunk@80270 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
1 parent cfd15af commit bd384bb419a0a5127505afcfe75b88cd84cf3270 @tvvcox tvvcox committed Apr 28, 2002
Showing with 2 additions and 2 deletions.
  1. +2 −2 examples/chan_copy.php
View
@@ -101,9 +101,9 @@ function log($level, $mesg)
$net2->command("JOIN $channel");
while(true) {
- $net1->loopRead(null, null, true);
+ $net1->readEvent();
usleep(250000);
- $net2->loopRead(null, null, true);
+ $net2->readEvent();
usleep(250000);
}
?>

0 comments on commit bd384bb

Please sign in to comment.