Esempio n. 1
0
 public function __construct($parent, $modules, $nick, $ident, $host, $realname, $qachan, $controlchan, $qa)
 {
     parent::__construct($parent, $modules);
     // Since we already should be connected when this is invoked.
     $this->parent->detach('service-connected-' . $this->id);
     $this->qa = $qa;
     $this->nick = $nick;
     $this->ident = $ident;
     $this->host = $host;
     $this->realname = $realname;
     $this->qachan = $qachan;
     $this->controlchan = $controlchan;
     $this->settings = array('channel_questions' => 0, 'channel_questions_prefix' => '', 'active' => 1, 'id_start' => 1000, 'show_qnick' => 1, 'show_anick' => 1, 'pernick_timeout' => 120);
     $this->_init();
 }