fix and moan if mycall and myalias are lowercase
[spider.git] / perl / DXUser.pm
index a4e52a26abb1e97a21cc8d657a81c5653c0852e1..116b69e62eebec01552ec5bb2a9c47066d9d4f61 100644 (file)
@@ -85,6 +85,7 @@ my $json;
                  rbnseeme => '0,RBN See Me,yesno',
                  registered => '9,Registered?,yesno',
                  startt => '0,Start Time,cldatetime',
+                 user_interval => '0,Prompt IdleTime',
                  version => '1,Version',
                  wantann => '0,Req Announce,yesno',
                  wantann_talk => '0,Talklike Anns,yesno',
@@ -353,7 +354,7 @@ sub close
        my $ip = shift;
        # add a record to the connect list
        $self->{lastin} = $main::systime;
-       my $ref = [$startt || $self->{startt}, $main::systime];
+       my $ref = [$self->{startt} || $startt, $main::systime];
        push @$ref, $ip if $ip;
        push @{$self->{connlist}}, $ref;
        shift @{$self->{connlist}} if @{$self->{connlist}} > $maxconnlist;