From: timriker Date: Sat, 27 Mar 2004 23:01:36 +0000 (+0000) Subject: formatting X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=ea441f5897e6a4f4bd732ae7aec2e381b164ae0e;p=infobot.git formatting git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@929 c11ca15a-4712-0410-83d8-924469b57eb5 --- 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(); }