Where is TOPIC?

Help
2005-05-22
2013-04-09
  • I use: $irc->getTopic('#channel');
    But where is topic? $topic no, $data->topic no, $data->gettopic no... Where?

     
    • Henrik Hansen
      Henrik Hansen
      2006-01-12

      I get it this way:

      $irc->getTopic($data->channel);
      $topic = $irc->channel[$data->channel]->topic;