aboutsummaryrefslogtreecommitdiff
path: root/idalius.pl
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2017-10-12 14:14:45 +1300
committerDavid Phillips <david@sighup.nz>2017-10-12 14:14:45 +1300
commit8714b27669ec7032a31ef88a8c8c451bcee56552 (patch)
treebd774f683640e77a4595b4e06ccffa34e397523f /idalius.pl
parent8bc6d6e2f50c2986d2e431af9a994af687f27a40 (diff)
downloadidalius-8714b27669ec7032a31ef88a8c8c451bcee56552.tar.xz
Add antiflood module, expose $irc to modules
Diffstat (limited to 'idalius.pl')
-rwxr-xr-xidalius.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/idalius.pl b/idalius.pl
index 2215b4e..ff89939 100755
--- a/idalius.pl
+++ b/idalius.pl
@@ -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;
}