diff options
author | onefang | 2020-05-09 06:12:36 +1000 |
---|---|---|
committer | onefang | 2020-05-09 06:12:36 +1000 |
commit | 1b6f747f791782bb4fb4420d601bfe88f1e847ac (patch) | |
tree | 065bf8f7d69ab74ae49646dd706f0e353007819b /src | |
parent | Various comment tweaks. (diff) | |
download | opensim-SC_OLD-1b6f747f791782bb4fb4420d601bfe88f1e847ac.zip opensim-SC_OLD-1b6f747f791782bb4fb4420d601bfe88f1e847ac.tar.gz opensim-SC_OLD-1b6f747f791782bb4fb4420d601bfe88f1e847ac.tar.bz2 opensim-SC_OLD-1b6f747f791782bb4fb4420d601bfe88f1e847ac.tar.xz |
Save Lua account symlinks to the correct UUID.
Diffstat (limited to 'src')
-rw-r--r-- | src/sledjchisl/sledjchisl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index 55e70f7..167514f 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c | |||
@@ -3694,7 +3694,7 @@ static void accountWrite(reqData *Rd) | |||
3694 | char *nm = xmprintf("%s/users/%s.lua", scData, qstrreplace("tr", name, " ", "_")); | 3694 | char *nm = xmprintf("%s/users/%s.lua", scData, qstrreplace("tr", name, " ", "_")); |
3695 | 3695 | ||
3696 | free(file); | 3696 | free(file); |
3697 | file = xmprintf("%s.lua", Rd->shs.UUID); | 3697 | file = xmprintf("%s.lua", uuid); |
3698 | I("Symlinking %s to %s", file, nm); | 3698 | I("Symlinking %s to %s", file, nm); |
3699 | if (0 != symlink(file, nm)) | 3699 | if (0 != symlink(file, nm)) |
3700 | perror_msg("Symlinking %s to %s", file, nm); | 3700 | perror_msg("Symlinking %s to %s", file, nm); |