]> git.donarmstrong.com Git - infobot.git/blobdiff - blootbot
yes, cia someday
[infobot.git] / blootbot
index f39ba08b83bb390f1794e593c549f5853f937670..4ef62d5f1dfe4128bc441c6516c857cc773ca5d8 100755 (executable)
--- a/blootbot
+++ b/blootbot
@@ -5,13 +5,11 @@
 
 use strict;
 use vars qw($bot_base_dir $bot_src_dir $bot_misc_dir $bot_state_dir
-           $bot_data_dir $bot_config_dir $bot_log_dir $bot_run_dir 
-           $bot_pid $memusage %param $fhs
+           $bot_data_dir $bot_config_dir $bot_log_dir $bot_run_dir
+           $bot_pid $memusage %param
 );
 
 BEGIN {
-    $fhs = 0;
-
     if (@ARGV and -f $ARGV[0]) {
        # source passed config to allow $bot_*_dir to be set.
        do $ARGV[0];
@@ -31,7 +29,6 @@ BEGIN {
 
     require "$bot_src_dir/logger.pl";
     require "$bot_src_dir/core.pl";
-    require "$bot_src_dir/interface.pl";
     require "$bot_src_dir/modules.pl";
 
     # load the configuration (params) file.
@@ -50,7 +47,7 @@ BEGIN {
 # prevent duplicate processes of the same bot
 &duperuncheck();
 
-# initialize everything 
+# initialize everything
 &startup();    # first time initialization.
 &setup();
 
@@ -65,9 +62,7 @@ exit 0;  # just so you don't look farther down in this file :)
 
 # --- support routines
 
-# FIXME.
-#   add arguments, basically '-h' and '--help', heh.
-#
+# FIXME: add arguments, basically '-h' and '--help', heh.
 
 # added by the xk
 sub duperuncheck {