summaryrefslogtreecommitdiffstats
path: root/lib/Bot/Games/Trait/Method/Command.pm
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2009-10-31 15:16:49 -0500
committerJesse Luehrs <doy@tozt.net>2009-10-31 15:28:04 -0500
commit188ad8e49c1fa2802eaa55b3d4ae978f2c58c23c (patch)
tree89333ab23955cceb45dada36ffe89a7a23c855b3 /lib/Bot/Games/Trait/Method/Command.pm
parentda36dca6178721b1c91b5e680d01e2595c2b1801 (diff)
downloadbot-games-188ad8e49c1fa2802eaa55b3d4ae978f2c58c23c.tar.gz
bot-games-188ad8e49c1fa2802eaa55b3d4ae978f2c58c23c.zip
convert Bot::Games to use IM::Engine::Plugin::Commands
Diffstat (limited to 'lib/Bot/Games/Trait/Method/Command.pm')
-rw-r--r--lib/Bot/Games/Trait/Method/Command.pm24
1 files changed, 0 insertions, 24 deletions
diff --git a/lib/Bot/Games/Trait/Method/Command.pm b/lib/Bot/Games/Trait/Method/Command.pm
deleted file mode 100644
index 25bd2ff..0000000
--- a/lib/Bot/Games/Trait/Method/Command.pm
+++ /dev/null
@@ -1,24 +0,0 @@
-package Bot::Games::Trait::Method::Command;
-use Bot::Games::OO::Role;
-
-has pass_args => (
- is => 'rw',
- isa => 'Bool',
- default => 1,
-);
-
-has needs_init => (
- is => 'rw',
- isa => 'Bool',
- default => 1,
-);
-
-around execute => sub {
- my $orig = shift;
- my $self = shift;
- return $self->pass_args ? $self->$orig(@_) : $self->$orig($_[0]);
-};
-
-no Bot::Games::OO::Role;
-
-1;