billmanager cleanup
This commit is contained in:
parent
50a7ee2903
commit
bd2097066b
@ -73,7 +73,7 @@ class BillManager implements CallbackListener {
|
|||||||
*/
|
*/
|
||||||
public function sendPlanets(callable $function, $receiverLogin, $amount, $message) {
|
public function sendPlanets(callable $function, $receiverLogin, $amount, $message) {
|
||||||
$billId = $this->maniaControl->getClient()->pay($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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user