diff options
author | Jesse Luehrs <doy@tozt.net> | 2010-01-25 09:25:13 -0600 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2010-01-25 09:25:13 -0600 |
commit | 37f3ba03271b4e793c1b089e3ccf0201e615f6ae (patch) | |
tree | bfc47357cbd6cbe5c1a5f93286e3782c729b7a98 | |
parent | 83ac98715ec351a616ebd85d86265d5f792c6eb3 (diff) | |
download | crawlbot-37f3ba03271b4e793c1b089e3ccf0201e615f6ae.tar.gz crawlbot-37f3ba03271b4e793c1b089e3ccf0201e615f6ae.zip |
actually send ->sent to plugins
-rw-r--r-- | lib/Crawl/Bot.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Crawl/Bot.pm b/lib/Crawl/Bot.pm index 046e50f..27c41b2 100644 --- a/lib/Crawl/Bot.pm +++ b/lib/Crawl/Bot.pm @@ -47,7 +47,7 @@ before say => sub { my $self = shift; my %params = @_; warn "sending '$params{body}' to $params{channel}"; - $self->sent({%params, who => $self->nick}) for @{ $self->plugins }; + $_->sent({%params, who => $self->nick}) for @{ $self->plugins }; }; sub tick { |