diff options
author | David Phillips <david@yeah.nah.nz> | 2018-11-24 21:13:20 +1300 |
---|---|---|
committer | David Phillips <david@yeah.nah.nz> | 2018-11-24 21:13:44 +1300 |
commit | 7f2403aa647e72d83ec00ac596dfbef778945ff0 (patch) | |
tree | 2710c98e2af0feee8172ba1cc4c9b0bd38ded2ae /idalius.pl | |
parent | 47e5bdaa4017df0fdb3015b2da57c0a95c0a089b (diff) | |
download | idalius-7f2403aa647e72d83ec00ac596dfbef778945ff0.tar.xz |
Add option to reduce log noise
Diffstat (limited to 'idalius.pl')
-rwxr-xr-x | idalius.pl | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -348,6 +348,10 @@ sub irc_delay_removed { sub _default { my ($event, $args) = @_[ARG0 .. $#_]; + + # exit early unless in debug mode + return unless $config->{_}->{log_debug}; + my @output = ( "$event: " ); for my $arg (@$args) { |