Skip to content

Commit

Permalink
WARNING: Function 'socket_set_blocking' is deprecated, please use 'st…
Browse files Browse the repository at this point in the history
…ream_set_blocking' instead in file ./Net_IRC/IRC.php line 120

git-svn-id: http://svn.php.net/repository/pear/packages/Net_IRC/trunk@302951 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
CloCkWeRX committed Sep 1, 2010
1 parent 1553466 commit 636cdc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IRC.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function connect($options)
$this->command("OPER {$options['oper_name']} {$options['oper_pass']}");
}

socket_set_blocking($sd, false);
stream_set_blocking($sd, 0);
$this->callback('CONNECT', false);
$this->options = $options;

Expand Down

0 comments on commit 636cdc8

Please sign in to comment.