X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2FObj%2Fhardban.phh;h=47fd0b129856b492c91504fc4e5bda45b4c4f373;hb=9878243b4e002b50ee444cf906b9e13faba4fe01;hp=7efb2523313b51f7b3daf866aed5efba0781005e;hpb=24ed800c2ca5855886af42f6f8ac4681a0089ee6;p=brisk.git diff --git a/web/Obj/hardban.phh b/web/Obj/hardban.phh index 7efb252..47fd0b1 100644 --- a/web/Obj/hardban.phh +++ b/web/Obj/hardban.phh @@ -163,7 +163,7 @@ class Hardbans { log_main("ftok failed"); break; } - + fprintf(STDERR, "hardpans: %x\n", $tok); if (($shm_sz = sharedmem_sz($tok)) == -1) { log_main("shmop_open failed"); } @@ -283,7 +283,7 @@ class Hardbans { } } // for (... if ($hban->ismod()) { - Hardbans::save_data(&$hban); + Hardbans::save_data($hban); } } // if (load_data Hardbans::unlock_data($a_sem); @@ -305,7 +305,7 @@ class Hardbans { $hban->add_item($login, $ip, $session, $timeout); if ($hban->ismod()) { - Hardbans::save_data(&$hban); + Hardbans::save_data($hban); } } // if (load_data Hardbans::unlock_data($a_sem);