summaryrefslogtreecommitdiffstats
path: root/runtime/rsconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/rsconf.c')
-rw-r--r--runtime/rsconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/rsconf.c b/runtime/rsconf.c
index 1c0e33c3..2cfb1691 100644
--- a/runtime/rsconf.c
+++ b/runtime/rsconf.c
@@ -486,7 +486,7 @@ cnfGetVar(char *name, void *usrptr)
else if(name[1] == '!')
estr = msgGetCEEVarNew((msg_t*) usrptr, name+2);
else
- estr = msgGetMsgVarNew((msg_t*) usrptr, (uchar*)name);
+ estr = msgGetMsgVarNew((msg_t*) usrptr, (uchar*)name+1);
} else { /* if this happens, we have a program logic error */
estr = es_newStrFromCStr("err: var must start with $",
sizeof("err: var must start with $")-1);