projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
put back msg totals for mrtg and background mrtg
[spider.git]
/
cmd
/
bye.pl
diff --git
a/cmd/bye.pl
b/cmd/bye.pl
index 653e939407a4067141f4da5bad97e11074af859a..513b3055af6fa4bca41f5b1d8bddef23de27f874 100644
(file)
--- a/
cmd/bye.pl
+++ b/
cmd/bye.pl
@@
-1,14
+1,15
@@
#
# the bye command
#
#
# the bye command
#
-#
$Id$
+#
#
my $self = shift;
#
my $self = shift;
+return (1, $self->msg('e5')) if $self->inscript;
# log out text
# log out text
-if ($self->is_user && -e
"$main::data/logout"
) {
- open(I,
"$main::data/logout"
) or confess;
+if ($self->is_user && -e
localdata("logout")
) {
+ open(I,
localdata("logout")
) or confess;
my @in = <I>;
close(I);
$self->send_now('D', @in);
my @in = <I>;
close(I);
$self->send_now('D', @in);