From fa78d47f1717db2b545bb25baf0f6d3ae3a17a4d Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 24 Aug 2009 02:54:59 -0500 Subject: already took care of this --- lib/IM/Engine/Plugin/Commands.pm | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/IM/Engine/Plugin/Commands.pm b/lib/IM/Engine/Plugin/Commands.pm index 9a59210..46d4e31 100644 --- a/lib/IM/Engine/Plugin/Commands.pm +++ b/lib/IM/Engine/Plugin/Commands.pm @@ -122,9 +122,6 @@ sub incoming { $self->_active_commands->{$command_name} = $command; } - # XXX: commands need to be able to print stuff on their own too - #$command->say_cb($args{say_cb}); - if (!$self->_active_commands->{$command_name}->is_active && (!defined($action) || $action !~ /^-/)) { $self->say($command->init($sender)) if $command->can('init'); @@ -152,9 +149,6 @@ sub incoming { } } else { - # XXX: need better handling for "0", but B::BB doesn't currently - # handle that properly either, so - # also, this should probably be factored into $say, i think? $self->say($command->default($sender, $action)); } -- cgit v1.2.3