Ejemplo n.º 1
0
 function install()
 {
     parent::install();
     $admins = Mootyconf::get_values($this->pluginspace . '::admins');
     foreach ($admins as $a => $admin) {
         if ($admin == '') {
             continue;
         }
         $this->admins[] = array('nick' => $admin, 'host' => Mootyconf::get_value('plugin::' . $this->module . '::' . $admin . '::host'), 'password' => Mootyconf::get_value('plugin::' . $this->module . '::' . $admin . '::password'));
     }
 }
Ejemplo n.º 2
0
 function install()
 {
     parent::install();
     $this->deer_timeout = Mootyconf::get_value($this->pluginspace . '::timeout');
     $this->timeout_punish = Mootyconf::get_value($this->pluginspace . '::timeout_punish');
     $this->deeritor = Mootyconf::get_value('plugin::deerme::deeritor');
     $this->banlist = array('nick' => Mootyconf::get_values('plugin::deerme::ignore_nick'), 'host' => Mootyconf::get_values('plugin::deerme::ignore_host'), 'channel' => Mootyconf::get_values('plugin::deerme::ignore_channel'));
     $this->privileged_match = Mootyconf::get_values('plugin::deerme::privileged_match');
     $privileged = Mootyconf::get_values($this->pluginspace . '::privileged');
     foreach ($privileged as $a => $user) {
         $this->deer_privileged[] = array('nick' => $user, 'host' => Mootyconf::get_value('plugin::' . $this->module . '::' . $user . '::host'), 'timeout' => Mootyconf::get_value('plugin::' . $this->module . '::' . $user . '::timeout'));
     }
 }
Ejemplo n.º 3
0
 function install()
 {
     parent::install();
     $this->banned_channels = Mootyconf::get_values($this->main->server_config_prefix . '::banned_channels');
 }
Ejemplo n.º 4
0
 function install()
 {
     parent::install();
     $this->halp_list_file = MODULE_PATH . Mootyconf::get_value('plugin::halp::halplist');
     $this->load_halp_list();
 }