diff --git a/plugins/admin/systems/class_goSpamServerRule.inc b/plugins/admin/systems/class_goSpamServerRule.inc
index 2adc6886ee1f04ae2eed196a7943fd3f9d487202..c8eed5d4ec998ddaaad17f85ff008ad41432c8cd 100644 (file)
var $orig_name = "";
var $view_logged =FALSE;
- function goSpamServerRule($config,$dn,$name = "",$rule ="")
+ function goSpamServerRule(&$config,$dn,$name = "",$rule ="")
{
plugin::plugin($config,$dn);
$this->name = $this->orig_name= $name;
if($this->is_account && !$this->view_logged){
$this->view_logged = TRUE;
- @log::log("view","server/".get_class($this),$this->dn);
+ new log("view","server/".get_class($this),$this->dn);
}
foreach($this->attributes as $attr){