- irc.c:irc_parse(): fixed logic error
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Thu, 8 Jan 2015 15:50:47 +0000 (15:50 +0000)
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Thu, 8 Jan 2015 15:50:47 +0000 (15:50 +0000)
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@5342 82007160-df01-0410-b94d-b575c5fd34c7

src/irc.c

index 1abbec0b17073348bb72731c2f6a6e4fbf5e3a8d..e6e5fea4fb80fce19ae6545b2077c4410edfa3e6 100644 (file)
--- 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;