Skip to content

Commit c17346a

Browse files
committed
InABox: boxman, not the reactor, has destroy_droplet
1 parent 7a6d0e3 commit c17346a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/Synergy/Reactor/InABox.pm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,8 @@ async sub handle_obliterate ($self, $event, $switches) {
367367
return await $event->reply("Would destroy this droplet, if you use /force:\n$message");
368368
}
369369

370-
await $self->destroy_droplet($droplet, { force => 1 });
370+
my $boxman = $self->box_manager_for_event($event);
371+
await $self->boxman->destroy_droplet($droplet, { force => 1 });
371372

372373
return;
373374
}

0 commit comments

Comments
 (0)