add DXCIDR, fix version no tracking
[spider.git] / perl / BBS.pm
index 741fb116a15da803d27a9f24730f7ba3f4a72bec..25b5f1f22e739f34cd4e9f8f80b5eb3af29a1df0 100644 (file)
@@ -6,7 +6,7 @@
 #
 # Copyright (c) 1999 - Dirk Koopman G1TLH
 #
-# $Id$
+#
 #
 
 package BBS;
@@ -16,11 +16,10 @@ use DXUser;
 use DXChannel;
 use DB_File;
 use DXDebug;
+use vars qw (@ISA %bid $bidfn $lastbidclean $bidcleanint %hash $maxbidage);
 
 @ISA = qw(DXChannel);
 
-use vars qw (%bid $bidfn $lastbidclean $bidcleanint);
-
 %bid = ();                                             # the bid hash
 $bidfn = "$main::root/msg/bid";        # the bid file filename
 $lastbidclean = time;                  # the last time the bid file was cleaned
@@ -115,7 +114,7 @@ sub normal
                }
     } elsif ($com =~ /^F/) {
                $self->disconnect;
-       } elsif ($com =~ /^(B|Q)) {
+       } elsif ($com =~ /^(B|Q)/) {
                $self->disconnect;
        }
 }
@@ -140,3 +139,5 @@ sub process
 
 }
 
+1;
+