fix console.pl max scroll depth
[spider.git] / cmd / bye.pl
index 653e939407a4067141f4da5bad97e11074af859a..41d3ee91af35a549d17dcfd57019b4c72ae82b75 100644 (file)
@@ -1,10 +1,11 @@
 #
 # the bye command
 #
-# $Id$
+#
 #
 
 my $self = shift;
+return (1, $self->msg('e5')) if $self->inscript;
 
 # log out text
 if ($self->is_user && -e "$main::data/logout") {