mirror of
https://github.com/irssi/irssi.git
synced 2026-08-19 16:42:30 +02:00
disable variable arguments code
This commit is contained in:
parent
e405330e04
commit
cc17837a9b
1 changed files with 4 additions and 0 deletions
|
|
@ -384,6 +384,7 @@ char *parse_special(char **cmd, SERVER_REC *server, void *item,
|
||||||
}
|
}
|
||||||
|
|
||||||
nest_free = FALSE; nest_value = NULL;
|
nest_free = FALSE; nest_value = NULL;
|
||||||
|
#if 0 /* this code is disabled due to security issues until it is fixed */
|
||||||
if (**cmd == '(' && (*cmd)[1] != '\0') {
|
if (**cmd == '(' && (*cmd)[1] != '\0') {
|
||||||
/* subvariable */
|
/* subvariable */
|
||||||
int toplevel = nested_orig_cmd == NULL;
|
int toplevel = nested_orig_cmd == NULL;
|
||||||
|
|
@ -412,6 +413,9 @@ char *parse_special(char **cmd, SERVER_REC *server, void *item,
|
||||||
|
|
||||||
if (toplevel) nested_orig_cmd = NULL;
|
if (toplevel) nested_orig_cmd = NULL;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
if (nested_orig_cmd) nested_orig_cmd = NULL;
|
||||||
|
#endif
|
||||||
|
|
||||||
if (**cmd != '{')
|
if (**cmd != '{')
|
||||||
brackets = FALSE;
|
brackets = FALSE;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue