From: dms Date: Sun, 4 Feb 2001 12:12:49 +0000 (+0000) Subject: remove mem increase from DCC CHAT - annoying. X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=a2dd9453db40a0641a4cdd606710ef6dd4ce4598;p=infobot.git remove mem increase from DCC CHAT - annoying. git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@329 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/src/core.pl b/src/core.pl index 71f154a..8ce2a7b 100644 --- a/src/core.pl +++ b/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 {