diff options
author | root <root@avtech.domain.avtechpulse.com> | 1999-12-31 21:10:01 -0500 |
---|---|---|
committer | root <root@avtech.domain.avtechpulse.com> | 1999-12-31 21:10:01 -0500 |
commit | 26414f0916d7e57354ce6c6496025b61707e46de (patch) | |
tree | 38e318d71f459c95e98bba9209361f2ef5888e6a /parser.c | |
parent | 7278bf2284f354a24aeabf4e63bff39f3047cbaa (diff) |
fix to ignore empty input strings
Diffstat (limited to 'parser.c')
-rw-r--r-- | parser.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -144,7 +144,9 @@ static int Parser_id_word(char *id_me, int *channel, int *with_id_code) } - if (!strcmp(id_me,"*cls") ) { + if (!strcmp(id_me,"") ) { + id_code = 0; + } else if (!strcmp(id_me,"*cls") ) { id_code = 1; } else if (!strcmp(id_me,"*ese") ) { id_code = 2; |