summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/IM/Engine/Plugin/Commands.pm6
1 files changed, 0 insertions, 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));
}