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

Bug-fix: when setting the user.command_shell, was setting the user.host_name

(computer) property instead.
parent 2ac6002f
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@
* @format.tab-size 4 (Plain Text/Source Code File Header) *
* @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) *
* *
* Copyright 2009 Rob Swindell - http://www.synchro.net/copyright.html *
* Copyright 2010 Rob Swindell - http://www.synchro.net/copyright.html *
* *
* This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License *
......@@ -519,7 +519,7 @@ static JSBool js_user_set(JSContext *cx, JSObject *obj, jsval id, jsval *vp)
putuserrec(p->cfg,p->user->number,U_XEDIT,0,str);
break;
case USER_PROP_SHELL:
putuserrec(p->cfg,p->user->number,U_COMP,0,str);
putuserrec(p->cfg,p->user->number,U_SHELL,0,str);
break;
case USER_PROP_MISC:
JS_RESUMEREQUEST(cx, rc);
......
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