]> git.donarmstrong.com Git - infobot.git/commitdiff
formatting
authortimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Sat, 27 Mar 2004 23:01:36 +0000 (23:01 +0000)
committertimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Sat, 27 Mar 2004 23:01:36 +0000 (23:01 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@929 c11ca15a-4712-0410-83d8-924469b57eb5

src/core.pl

index 91b329b33f1497ef5d31aa948b58e072e1fbac88..52f06d691ca09b372f560e8dd065da287910930f 100644 (file)
@@ -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();
 }