Small fixes

This commit is contained in:
Michiel Broek
2002-04-30 12:09:03 +00:00
parent b24fe1e190
commit eb93569b53
4 changed files with 41 additions and 8 deletions

View File

@@ -244,7 +244,7 @@ void Sheader()
printf(" ... ");
colour(Hcolor, 0);
printf("%-40s", area.Name);
printf("%-44s", area.Name);
fflush(stdout);
if (Hcolor < 15)

View File

@@ -249,9 +249,14 @@ void user()
InitLanguage();
/*
* User logged in, tell it to the server.
* User logged in, tell it to the server. Check if a location is
* set, if Ask User location for new users is off, this field is
* empty but we have to send something to the server.
*/
UserCity(mypid, usrconfig.sUserName, usrconfig.sLocation);
if (strlen(usrconfig.sLocation))
UserCity(mypid, usrconfig.sUserName, usrconfig.sLocation);
else
UserCity(mypid, usrconfig.sUserName, (char *)"N/A");
/*
* See if this user is the Sysop.