Commit 7e70db42 authored by Nikola Hardi's avatar Nikola Hardi
Browse files

Fix the GetHomeDirectory method

parent 9873a594
......@@ -1645,6 +1645,8 @@ const char* TJAlien::Whoami() {
const char *username;
if (r && (username = r->GetKey(0, "message")))
{
TObjString k("currentdir");
fHome = r->GetMetaData(&k)->GetString();
return username;
}
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment