aboutsummaryrefslogtreecommitdiff
path: root/Plugin/Introspect.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Plugin/Introspect.pm')
-rw-r--r--Plugin/Introspect.pm24
1 files changed, 0 insertions, 24 deletions
diff --git a/Plugin/Introspect.pm b/Plugin/Introspect.pm
deleted file mode 100644
index 05f338a..0000000
--- a/Plugin/Introspect.pm
+++ /dev/null
@@ -1,24 +0,0 @@
-package Plugin::Introspect;
-
-use strict;
-use warnings;
-
-my $root_config;
-
-sub configure {
- my $self = shift;
- my $cmdref = shift;
- shift; # run_command
- shift; # module config
- $root_config = shift;
-
- $cmdref->("plugins", sub { $self->dump_plugins(@_); } );
-
- return $self;
-}
-
-sub dump_plugins {
- my ($self, $irc, $logger, $who, $where, $ided, $rest, @arguments) = @_;
- return "Plugins: " . join ", ", $root_config->{plugins};
-}
-1;