enanobot.php
changeset 50 45164bc2567a
parent 49 4c4d69b2cd4d
child 51 508400fc5282
equal deleted inserted replaced
49:4c4d69b2cd4d 50:45164bc2567a
   188   {
   188   {
   189     require('config.php');
   189     require('config.php');
   190     $GLOBALS['privileged_list'] = $privileged_list;
   190     $GLOBALS['privileged_list'] = $privileged_list;
   191     $GLOBALS['alert_list'] = $alert_list;
   191     $GLOBALS['alert_list'] = $alert_list;
   192     $GLOBALS['channels'] = $channels;
   192     $GLOBALS['channels'] = $channels;
   193     print_r($channels);
       
   194     $in = array();
   193     $in = array();
   195     foreach ( $irc->channels as $channel )
   194     foreach ( $irc->channels as $channel )
   196     {
   195     {
   197       $channame = $channel->get_channel_name();
   196       $channame = $channel->get_channel_name();
   198       if ( !in_array($channame, $channels) )
   197       if ( !in_array($channame, $channels) )