Hi kerphi!
i have a proxy that triggers a /leave under some circumstances.
The code is as following:
$cmdp = $p;
$cmdp["params"] = array('ch', $open_channels[0]);
$cmdp["param"] = 'ch '.$open_channels[0];
$cmd =& pfcCommand::Factory("leave");
$cmd->run($xml_reponse, $cmdp);
$open_channels is a array with channel names the user has open. It is successfully read from the users metadata.
With prior PFC version all went fine. With beta-11 i get a "Missing parameters" error.
I looked a bit through the code of the /leave command and found, that the error message is the second one, at the very bottom of the file (Line 134+).
Sending a custom leave from the client works fine, just the internal one does not work anymore.
Please, can you tell me what i am doing wrong or if i found a bug.