1. made sure that 'en' is the default language on new users.
authorminima <minima>
Thu, 27 Jul 2000 10:07:33 +0000 (10:07 +0000)
committerminima <minima>
Thu, 27 Jul 2000 10:07:33 +0000 (10:07 +0000)
Changes
perl/DXCommandmode.pm
perl/DXProt.pm

diff --git a/Changes b/Changes
index 3f0fc2c661c6513a093ea0375a8aec2ed1471b7d..d79851948c20bee4e4ecfd869385be77ace346cc 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,3 +1,5 @@
+27Jul00=======================================================================
+1. made sure that 'en' is the default language on new users.
 26Jul00=======================================================================
 1. added wantgrid (to control display of grid square info on DX Broadcasts)
 2. added lastoper for controlling periodic demands for user info from other
index d88d879ee9678d7209a89c546bb3375cd6e85858..4994b313efec0b917de523b694a110616d1f6011 100644 (file)
@@ -65,7 +65,7 @@ sub start
        $self->send_file($main::motd) if (-e $main::motd);
        $self->state('prompt');         # a bit of room for further expansion, passwords etc
        $self->{priv} = $user->priv;
-       $self->{lang} = $user->lang;
+       $self->{lang} = $user->lang || 'en';
        $self->{pagelth} = $user->pagelth || 20;
        $self->{priv} = 0 if $line =~ /^(ax|te)/; # set the connection priv to 0 - can be upgraded later
        $self->{consort} = $line;       # save the connection type
index 93baa8dae5759d60503ad7c6c967987141a35fa3..7a324625f4e9342304b1545cf2718c83ea5efa89 100644 (file)
@@ -97,7 +97,7 @@ sub start
        $self->{consort} = $line;
        $self->{outbound} = $sort eq 'O';
        $self->{priv} = $user->priv;
-       $self->{lang} = $user->lang;
+       $self->{lang} = $user->lang || 'en';
        $self->{isolate} = $user->{isolate};
        $self->{consort} = $line;       # save the connection type
        $self->{here} = 1;