summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2009-08-24 02:54:59 -0500
committerJesse Luehrs <doy@tozt.net>2009-08-24 02:55:25 -0500
commitfa78d47f1717db2b545bb25baf0f6d3ae3a17a4d (patch)
treec575e58722ffde82c5b5c2289c2aa81dc85538a2
parent6f6b4ba91b35f8485c32e9a3ebdafe0c2b0d9f4f (diff)
downloadim-engine-plugin-commands-fa78d47f1717db2b545bb25baf0f6d3ae3a17a4d.tar.gz
im-engine-plugin-commands-fa78d47f1717db2b545bb25baf0f6d3ae3a17a4d.zip
already took care of this
-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));
}