From d5e397a3f5090bc881987adc3f2418fdf007252c Mon Sep 17 00:00:00 2001 From: dms Date: Wed, 3 Jan 2001 13:43:26 +0000 Subject: [PATCH] - DESTROY code removed. git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@224 c11ca15a-4712-0410-83d8-924469b57eb5 --- src/modules.pl | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/modules.pl b/src/modules.pl index 75b64ba..0cbfd9f 100644 --- a/src/modules.pl +++ b/src/modules.pl @@ -138,6 +138,7 @@ sub loadIRCModules { exit 1; } &showProc(" (Net::IRC)"); + } else { &status("IRC support DISABLED."); return; @@ -323,18 +324,19 @@ sub loadMyModule { } ### this chews 3megs on potato, 300 kB on slink. -$no_syscall = 0; -###eval "require 'sys/syscall.ph'"; +#$no_syscall = 0; +#eval "require 'sys/syscall.ph'"; #if ($@) { -# &WARN("sys/syscall.ph has not been installed//generated. gettimeofday -#will use time() instead"); +# &WARN("sys/syscall.ph has not been installed//generated. +#gettimeofday will use time() instead"); $no_syscall = 1; #} -#&showProc(" (syscall)"); +&showProc(" (syscall)"); sub AUTOLOAD { &ERROR("UNKNOWN FUNCTION CALLED: $AUTOLOAD"); foreach (@_) { + next unless (defined $_); &status(" => $_"); } } -- 2.39.5