From: <sja...@us...> - 2003-08-13 02:05:17
|
Update of /cvsroot/binaryphp/binaryphp/examples In directory sc8-pr-cvs1:/tmp/cvs-serv3808/examples Modified Files: irc.php Log Message: Change default channel the bot joins to #testbot Index: irc.php =================================================================== RCS file: /cvsroot/binaryphp/binaryphp/examples/irc.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** irc.php 6 Aug 2003 14:09:55 -0000 1.3 --- irc.php 12 Aug 2003 16:32:19 -0000 1.4 *************** *** 5,9 **** socket_write($sock, "USER TestBOT TestBOT TestBOT :TestBOT\r\n"); socket_write($sock, "NICK TestBOT \r\n"); ! socket_write($sock,"JOIN #binaryphp \r\n"); while ($data = socket_read($sock, 2048)) { --- 5,9 ---- socket_write($sock, "USER TestBOT TestBOT TestBOT :TestBOT\r\n"); socket_write($sock, "NICK TestBOT \r\n"); ! socket_write($sock, "JOIN #testbot \r\n"); while ($data = socket_read($sock, 2048)) { |