billmanager cleanup

This commit is contained in:
kremsy 2015-06-03 22:22:07 +02:00
parent 50a7ee2903
commit bd2097066b

View File

@ -73,7 +73,7 @@ class BillManager implements CallbackListener {
*/
public function sendPlanets(callable $function, $receiverLogin, $amount, $message) {
$billId = $this->maniaControl->getClient()->pay($receiverLogin, $amount, $message);
$this->openBills[$billId] = new BillData($function, $receiverLogin, $amount, true);
$this->openBills[$billId] = new BillData($function, $receiverLogin, $amount, true, $receiverLogin);
return true;
}