remove finishes and derive disconnect instead
[spider.git] / perl / BBS.pm
index e2920a476f23d3fa21bde78e71f23b6bc202162e..741fb116a15da803d27a9f24730f7ba3f4a72bec 100644 (file)
@@ -15,7 +15,7 @@ use strict;
 use DXUser;
 use DXChannel;
 use DB_File;
-use Carp;
+use DXDebug;
 
 @ISA = qw(DXChannel);
 
@@ -39,7 +39,6 @@ sub init
 sub new 
 {
        my $self = DXChannel::alloc(@_);
-       $self->{'sort'} = 'B';  
        return $self;
 }
 
@@ -124,11 +123,12 @@ sub normal
 #
 # end a connection (called by disconnect)
 #
-sub finish
+sub disconnect
 {
        my $self = shift;
        my $call = $self->call;
        Log('BBS', "$call", "disconnected");
+       $self->SUPER::disconnect;
 }
 
 #