From 2c0ddc1a747b26221d825663c65698e4904c2a30 Mon Sep 17 00:00:00 2001 From: timriker Date: Tue, 6 Mar 2007 20:14:36 +0000 Subject: [PATCH] channel silent flag git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@1300 c11ca15a-4712-0410-83d8-924469b57eb5 --- src/IRC/Irc.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/IRC/Irc.pl b/src/IRC/Irc.pl index b121fdf..dceae89 100644 --- a/src/IRC/Irc.pl +++ b/src/IRC/Irc.pl @@ -212,6 +212,11 @@ sub say { return; } + if (&getChanConf('silent', $talkchannel)) { + &DEBUG("say: silent in $talkchannel, not saying $msg"); + return; + } + if ( $postprocess ) { undef $postprocess; } elsif ($postprocess = &getChanConf('postprocess', $talkchannel)) { -- 2.39.2