aboutsummaryrefslogtreecommitdiff
path: root/Plugin
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2019-06-23 14:49:45 +1200
committerDavid Phillips <david@sighup.nz>2019-06-23 14:49:45 +1200
commited3d57c9747010ce8c2174ff2463cb50a13f247b (patch)
treece62cf2e572f07b8623bf7108f6cf920fe883689 /Plugin
parent932c71ff21720227faf0d489555d1e242199eecf (diff)
downloadidalius-ed3d57c9747010ce8c2174ff2463cb50a13f247b.tar.xz
Log notices
Diffstat (limited to 'Plugin')
-rw-r--r--Plugin/Log.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/Plugin/Log.pm b/Plugin/Log.pm
index dc2c6d3..dd092f5 100644
--- a/Plugin/Log.pm
+++ b/Plugin/Log.pm
@@ -134,6 +134,12 @@ sub on_invite {
return;
}
+sub on_notice {
+ my ($self, $logger, $who, $where, $message, $irc) = @_;
+ $logger->("$t{bracket}\[$t{channel}$where$t{bracket}\]$t{info} --- Notice: $t{nick}$who$t{info}: $t{message}$message$t{reset}");
+ return;
+}
+
sub on_topic {
my ($self, $logger, $who, $where, $topic, $irc) = @_;
if ($topic) {