From fe0ac374ce32322b15f6ef355932c3b7a2d8d627 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@1300 c11ca15a-4712-0410-83d8-924469b57eb5 --- blootbot/src/IRC/Irc.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/blootbot/src/IRC/Irc.pl b/blootbot/src/IRC/Irc.pl index b121fdf..dceae89 100644 --- a/blootbot/src/IRC/Irc.pl +++ b/blootbot/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.5