mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
Don't crash if special vars line ends with '$'.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2488 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
81c2e557d1
commit
490e411814
2 changed files with 5 additions and 1 deletions
|
|
@ -362,6 +362,8 @@ char *parse_special(char **cmd, SERVER_REC *server, void *item,
|
|||
int brackets, nest_free;
|
||||
|
||||
*free_ret = FALSE;
|
||||
if (**cmd == '\0')
|
||||
return NULL;
|
||||
|
||||
command = **cmd; (*cmd)++;
|
||||
switch (command) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue