Fix dx/dx so it can do 'on 1000/4000' and also merge sh/dxcc into sh/dx
[spider.git] / cmd / bye.pl
index d6e2d14becc76790295e429a02a093bb15653f54..13195c60ebb3a38820c8f9f77e0e3de841746025 100644 (file)
@@ -15,5 +15,6 @@ if ($self->is_user && -e "$main::data/logout") {
        sleep(1);
 }
 
-$self->state('bye');
+$self->disconnect;
+
 return (1);