In the same way, I tried in the source code to remove the possibily for another OP to remove the "OP" statut of an nickname (administrator)
The section :
- Code: Select all
if ($nick == 'insert your user name here')
{
//not a good move
$cmdp = $p;
$cmdp["param"] = _pfc(" You know that is not going to happen, right? ");
$cmd =& pfcCommand::Factory("error");
$cmd->run($xml_reponse, $cmdp);
return;
}
... doesn't work, because there is no $nick variable... and I confess don't know how to reference it...
If you have an idea, thanks in advance, once again