add node to call in tell_login and tell_buddies.
[spider.git] / cmd / bye.pl
index 13195c60ebb3a38820c8f9f77e0e3de841746025..9a842efd09b8268776af292d56275fc7e589daf7 100644 (file)
@@ -5,6 +5,7 @@
 #
 
 my $self = shift;
+return (1, $self->msg('e5')) if $self->inscript;
 
 # log out text
 if ($self->is_user && -e "$main::data/logout") {
@@ -15,6 +16,8 @@ if ($self->is_user && -e "$main::data/logout") {
        sleep(1);
 }
 
+#$self->send_now('Z', "");
+
 $self->disconnect;
 
 return (1);