summaryrefslogtreecommitdiff
path: root/src/core/special-vars.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/special-vars.c')
-rw-r--r--src/core/special-vars.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/special-vars.c b/src/core/special-vars.c
index ffb57267..19a0b1b2 100644
--- a/src/core/special-vars.c
+++ b/src/core/special-vars.c
@@ -205,7 +205,7 @@ static char *get_special_value(char **cmd, SERVER_REC *server, void *item,
char command, *value, *p;
int len;
- if ((flags & PARSE_FLAG_ONLY_PARAMS) && !isarg(**cmd)) {
+ if ((flags & PARSE_FLAG_ONLY_ARGS) && !isarg(**cmd)) {
*free_ret = TRUE;
return g_strdup_printf("$%c", **cmd);
}