From d7206f861cc3ada12681c921295af7f4b52b4574 Mon Sep 17 00:00:00 2001 From: michael Date: Thu, 25 Dec 2014 17:12:13 +0000 Subject: [PATCH] - irc.c:irc_read(): removed extraneous test for 'c' being either '\r' or '\n'. It's already dealt with cr/lf at this point. git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@5124 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 805b8cb..c24ed5a 100644 --- a/src/irc.c +++ b/src/irc.c @@ -480,7 +480,7 @@ irc_read(void) break; } - if (c != '\r' && c != '\n' && c != '\0') + if (c != '\0') IRC_RAW[IRC_RAW_LEN++] = c; } -- 2.30.2