diff --git a/lib/modules/System.pmod/module.pmod b/lib/modules/System.pmod/module.pmod index 4c51972c17c0401f49b84c47a8377bb986230ae0..e02eed4d9233cfc755f002fd183825c2ca3b2023 100644 --- a/lib/modules/System.pmod/module.pmod +++ b/lib/modules/System.pmod/module.pmod @@ -22,8 +22,8 @@ constant TM = __builtin.TM; //! the process (rather than the effective user).. string get_user() { -#if constant(System.GetUserName) - return System.GetUserName(); +#if constant(_system.GetUserName) + return GetUserName(); #elseif constant(getuid) return [string]getpwuid(getuid())[0]; #else