cvs: pear /Net_SmartIRC/SmartIRC example.php

From: Date: Tue, 14 Jan 2003 20:54:23 +0000
Subject: cvs: pear /Net_SmartIRC/SmartIRC example.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-8242@lists.php.net to get a copy of this message
meebey Tue Jan 14 15:54:23 2003 EDT Modified files: /pear/Net_SmartIRC/SmartIRC example.php Log: - changed join() to use an array instead of 2 calls Index: pear/Net_SmartIRC/SmartIRC/example.php diff -u pear/Net_SmartIRC/SmartIRC/example.php:1.5 pear/Net_SmartIRC/SmartIRC/example.php:1.6 --- pear/Net_SmartIRC/SmartIRC/example.php:1.5 Sun Jan 5 19:43:22 2003 +++ pear/Net_SmartIRC/SmartIRC/example.php Tue Jan 14 15:54:23 2003 @@ -1,9 +1,9 @@ <?php /** - * $Id: example.php,v 1.5 2003/01/06 00:43:22 meebey Exp $ - * $Revision: 1.5 $ + * $Id: example.php,v 1.6 2003/01/14 20:54:23 meebey Exp $ + * $Revision: 1.6 $ * $Author: meebey $ - * $Date: 2003/01/06 00:43:22 $ + * $Date: 2003/01/14 20:54:23 $ */ /** * Copyright (c) 2002-2003 Mirco "MEEBEY" Bauer <mail@meebey.net> <http://www.meebey.net> @@ -51,8 +51,7 @@ $irc->registerActionhandler(SMARTIRC_TYPE_CHANNEL, '^test', $bot, 'channel_test'); $irc->connect('irc.freenet.de', 6667); $irc->login('Net_SmartIRC', 'Net_SmartIRC Client '.SMARTIRC_VERSION, 0, 'Net_SmartIRC'); -$irc->join('#smartirc-test'); -$irc->join('#test'); +$irc->join(array('#smartirc-test','#test')); $irc->listen(); $irc->disconnect(); ?>

« previous php.pear.cvs (#8242) next »