From c84e93355b3316eabd40cfc63774d4a5ac4ea6d0 Mon Sep 17 00:00:00 2001 From: dms Date: Sun, 4 Feb 2001 12:12:49 +0000 Subject: [PATCH] remove mem increase from DCC CHAT - annoying. git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@329 c11ca15a-4712-0410-83d8-924469b57eb5 --- blootbot/src/core.pl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/blootbot/src/core.pl b/blootbot/src/core.pl index 71f154a..8ce2a7b 100644 --- a/blootbot/src/core.pl +++ b/blootbot/src/core.pl @@ -215,7 +215,7 @@ sub getChanConf { $chan ||= "_default"; my @c = grep /^$chan$/i, keys %chanconf; - if ($c[0] ne $chan) { + if (@c and $c[0] ne $chan) { &WARN("c ne chan ($c[0] ne $chan)"); } @@ -253,8 +253,6 @@ sub showProc { } &status($str); - &DCCBroadcast($str) if (&whatInterface() =~ /IRC/ && - grep(/Irc.pl/, keys %moduleAge)); } $memusageOld = $memusage; } else { -- 2.39.5