diff options
author | David Phillips <david@sighup.nz> | 2017-10-12 14:14:45 +1300 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2017-10-12 14:14:45 +1300 |
commit | 8714b27669ec7032a31ef88a8c8c451bcee56552 (patch) | |
tree | bd774f683640e77a4595b4e06ccffa34e397523f /idalius.pl | |
parent | 8bc6d6e2f50c2986d2e431af9a994af687f27a40 (diff) | |
download | idalius-8714b27669ec7032a31ef88a8c8c451bcee56552.tar.xz |
Add antiflood module, expose $irc to modules
Diffstat (limited to 'idalius.pl')
-rwxr-xr-x | idalius.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -127,7 +127,7 @@ sub irc_public { for my $module (@plugin_list) { my $stripped_what = strip_color(strip_formatting($what)); - my $output = $module->message(\&log_info, $irc->nick_name, $who, $where, $what, $stripped_what); + my $output = $module->message(\&log_info, $irc->nick_name, $who, $where, $what, $stripped_what, $irc); $irc->yield(privmsg => $where => $output) if $output; } |