From cb9d1323a1261e9e7fa91de6f54abc7e4bf83453 Mon Sep 17 00:00:00 2001
From: dondelelcaro <dondelelcaro@c11ca15a-4712-0410-83d8-924469b57eb5>
Date: Sat, 3 Jun 2006 01:07:09 +0000
Subject: [PATCH] * 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
---
 src/Modules/Kernel.pl | 5 +++++
 1 file changed, 5 insertions(+)

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 //;
-- 
2.39.5