From: dondelelcaro Date: Sat, 3 Jun 2006 01:07:09 +0000 (+0000) Subject: * Dissallow kernel replies going to the entire channel [dpkg specific] X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=cb9d1323a1261e9e7fa91de6f54abc7e4bf83453;p=infobot.git * Dissallow kernel replies going to the entire channel [dpkg specific] git-svn-id: https://svn.code.sf.net/p/infobot/code/branches/don/dpkg@1277 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/src/Modules/Kernel.pl b/src/Modules/Kernel.pl index 45c1190..1a762b8 100644 --- a/src/Modules/Kernel.pl +++ b/src/Modules/Kernel.pl @@ -19,6 +19,11 @@ sub Kernel { return; } + if ($::who =~ /^\#/) { + &::msg($::who, "No, I won't harass the entire channel."); + return undef; + } + foreach $line (@now) { $line =~ s/The latest //; $line =~ s/version //;