From 65cecd3542b54abb47dce888698562d48b35b27d Mon Sep 17 00:00:00 2001 From: michael Date: Thu, 8 Jan 2015 15:50:35 +0000 Subject: [PATCH] - 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 --- src/irc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2