From ea441f5897e6a4f4bd732ae7aec2e381b164ae0e Mon Sep 17 00:00:00 2001 From: timriker Date: Sat, 27 Mar 2004 23:01:36 +0000 Subject: [PATCH] formatting git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@929 c11ca15a-4712-0410-83d8-924469b57eb5 --- src/core.pl | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/core.pl b/src/core.pl index 91b329b..52f06d6 100644 --- a/src/core.pl +++ b/src/core.pl @@ -491,7 +491,7 @@ sub setupConfig { sub startup { if (&IsParam("DEBUG")) { &status("enabling debug diagnostics."); - ### I thought disabling this reduced memory usage by 1000 KiB. + # I thought disabling this reduced memory usage by 1000 KiB. use diagnostics; } @@ -506,7 +506,8 @@ sub shutdown { # reverse order of &setup(). &status("--- shutdown called."); - $ident ||= "blootbot"; # hack. + # hack. + $ident ||= "blootbot"; if (!&isFileUpdated("$bot_state_dir/blootbot.users", $wtime_userfile)) { &writeUserFile() @@ -517,7 +518,8 @@ sub shutdown { } &sqlCloseDB(); - &closeSHM($shm); # aswell. TODO: use this in &doExit? + # aswell. TODO: use this in &doExit? + &closeSHM($shm); &closeLog(); } -- 2.39.2