equal
deleted
inserted
replaced
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) ) |