From: michael Date: Thu, 8 Jan 2015 15:50:35 +0000 (+0000) Subject: - irc.c:irc_parse(): fixed logic error X-Git-Tag: 1.0.2~15 X-Git-Url: http://git.serene-ircd.net/?a=commitdiff_plain;h=65cecd3542b54abb47dce888698562d48b35b27d;p=hopm.git - irc.c:irc_parse(): fixed logic error git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/branches/1.0.x@5341 82007160-df01-0410-b94d-b575c5fd34c7 --- diff --git a/src/irc.c b/src/irc.c index 1abbec0..e6e5fea 100644 --- a/src/irc.c +++ b/src/irc.c @@ -491,7 +491,7 @@ irc_parse(void) while ((pos = strchr(pos, ' ')) && parc <= 17) { /* Avoid excessive spaces and end of IRC_RAW */ - if (*(pos + 1) == ' ' && *(pos + 1) == '\0') + if (*(pos + 1) == ' ' || *(pos + 1) == '\0') { pos++; continue;