]> ruin.nu Git - NDIRC.git/blobdiff - Dispatcher.pm
Webbie messages
[NDIRC.git] / Dispatcher.pm
index 6705349b8081b4da430edc43ee3e48d12adf0217..76beef574c6687127d2fe3cb1bcc05501d4c40dd 100644 (file)
@@ -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) = @_;