Merge branch 'newpc92timings' of /scm/spider into newpc92timings
[spider.git] / perl / create_sysop.pl
index 11673e3146f55694f654bd1b7771811e779d1fcf..622bc05656052a05edb19b2c30daf5839d7fb3dc 100755 (executable)
@@ -6,7 +6,7 @@
 #
 # Copyright (c) 1998 Dirk Koopman G1TLH
 #
-# $Id$
+#
 # 
 
 # make sure that modules are searched in the order local then perl
@@ -69,6 +69,7 @@ sub create_it
        $self->{dxok} = 1;
        $self->{annok} = 1;
        $self->{lang} = 'en';
+       $self->{group} = [qw(local #9000)];
   
        # write it away
        $self->close();
@@ -84,7 +85,9 @@ if (-e $lockfn) {
        close CLLOCK;
 }
 
-if (-e "$userfn") {
+$DXUser::v3 = 1;
+
+if (-e "$userfn.v2" || -e "$userfn.v3") {
        print "Do you wish to destroy your user database (THINK!!!) [y/N]: ";
        $ans = <STDIN>;
        if ($ans =~ /^[Yy]/) {