X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fbye.pl;h=513b3055af6fa4bca41f5b1d8bddef23de27f874;hb=9c8ae21bbf6c6c51c04f62b18b613bbf42a375ca;hp=9a842efd09b8268776af292d56275fc7e589daf7;hpb=5f2487385b59dbe88dc763fa9c26fe5a9b4a6b30;p=spider.git diff --git a/cmd/bye.pl b/cmd/bye.pl index 9a842efd..513b3055 100644 --- a/cmd/bye.pl +++ b/cmd/bye.pl @@ -1,15 +1,15 @@ # # 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") { - open(I, "$main::data/logout") or confess; +if ($self->is_user && -e localdata("logout")) { + open(I, localdata("logout")) or confess; my @in = ; close(I); $self->send_now('D', @in);