Skip to content
Snippets Groups Projects
Commit d4caae17 authored by rswindell's avatar rswindell
Browse files

Replaced check of access requirements for user's selected external editor.

parent fd6023e6
No related branches found
No related tags found
No related merge requests found
......@@ -229,7 +229,7 @@ int DLLCALL getuserdat(scfg_t* cfg, user_t *user)
getrec(userdat,U_XEDIT,8,str);
for(i=0;i<cfg->total_xedits;i++)
if(!stricmp(str,cfg->xedit[i]->code) /* && chk_ar(cfg->xedit[i]->ar,user) */)
if(!stricmp(str,cfg->xedit[i]->code) && chk_ar(cfg,cfg->xedit[i]->ar,user))
break;
user->xedit=i+1;
if(user->xedit>cfg->total_xedits)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment