X-Git-Url: https://ruin.nu/git/?p=ndwebbie.git;a=blobdiff_plain;f=lib%2FNDWeb.pm;h=b72d765a9e971d0b3e99545a195b7245af2fd415;hp=51c5e7f730b24096cfb3c3a4b73a2f7aed5c1a9e;hb=95cfd7bb5173581eda52b1d920840da10fa3a333;hpb=50e2cfa738765f4de658193277b7ab6d7dc814cc diff --git a/lib/NDWeb.pm b/lib/NDWeb.pm index 51c5e7f..b72d765 100644 --- a/lib/NDWeb.pm +++ b/lib/NDWeb.pm @@ -47,6 +47,8 @@ sub signal_bots { system 'killall','-USR1', 'ndbot.pl'; } +#$SIG{__WARN__} = sub { NDWeb->log->warn(@_); }; + # Configure the application. # # Note that settings in ndweb.conf (or other external