X-Git-Url: https://ruin.nu/git/?p=NDIRC.git;a=blobdiff_plain;f=Dispatcher.pm;h=76beef574c6687127d2fe3cb1bcc05501d4c40dd;hp=6705349b8081b4da430edc43ee3e48d12adf0217;hb=445fc8eeeb37b4728b1d7608862e772856eebb19;hpb=14fe324122bee271d8153f3db81491240a87895c diff --git a/Dispatcher.pm b/Dispatcher.pm index 6705349..76beef5 100644 --- a/Dispatcher.pm +++ b/Dispatcher.pm @@ -46,11 +46,6 @@ has channels => ( default => sub{ {} }, ); -has targets => ( - is => 'ro', - isa => 'HashRef[Str]', - default => sub{ {} }, -); my $DISP; @@ -107,11 +102,6 @@ sub has_command { return $self->channels->{$channel}->has($command->type); } -sub set_target { - my ($self,$label,$target) = @_; - $self->targets->{$label} = $target; -} - sub run_command { my ($self,$c,$command,$args) = @_;