X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=src%2FIRC%2FIrc.pl;h=12aa2038c95a8cd2a86696f2fbccab3116b35be9;hb=4fd23123a78a173b3356cb74f7eff58849d1f408;hp=70176e84a33fc78ca2747ab14cffc6a4c1573c1f;hpb=4a84c238a8c0424b65b6d3c8470c7c1d9d0bf0c8;p=infobot.git diff --git a/src/IRC/Irc.pl b/src/IRC/Irc.pl index 70176e8..12aa203 100644 --- a/src/IRC/Irc.pl +++ b/src/IRC/Irc.pl @@ -213,7 +213,8 @@ sub say { return; } - if (&getChanConf('silent', $talkchannel)) { + if (&getChanConf('silent', $talkchannel) and not + (&IsFlag("s") and &verifyUser($who,$nuh{lc $who}))) { &DEBUG("say: silent in $talkchannel, not saying $msg"); return; } @@ -272,7 +273,8 @@ sub msg { } # some say() end up here (eg +help) - if (&getChanConf('silent', $nick)) { + if (&getChanConf('silent', $nick) and not + (&IsFlag("s") and &verifyUser($who,$nuh{lc $who}))) { &DEBUG("msg: silent in $nick, not saying $msg"); return; } @@ -313,7 +315,8 @@ sub action { return; } - if (&getChanConf('silent', $target)) { + if (&getChanConf('silent', $target) and not + (&IsFlag("s") and &verifyUser($who,$nuh{lc $who}))) { &DEBUG("action: silent in $target, not doing $txt"); return; }