From: michael Date: Thu, 8 Jan 2015 15:50:47 +0000 (+0000) Subject: - irc.c:irc_parse(): fixed logic error X-Git-Tag: 1.1.0beta1~184 X-Git-Url: http://git.serene-ircd.net/?a=commitdiff_plain;h=55761c2670de9a0364e1c1724d2345c6cfd01d5a;p=hopm.git - irc.c:irc_parse(): fixed logic error git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@5342 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;