From fa7a588c818d79492579217ba577ac56f10981ba Mon Sep 17 00:00:00 2001 From: psychon Date: Thu, 27 Sep 2007 20:36:56 +0000 Subject: [PATCH] Merge rev 1034 from crox 'fixed parentheses' git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@845 726aef4b-f618-498e-8847-2d620e286838 --- modules/shell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/shell.cpp b/modules/shell.cpp index 7201a45f..e362a612 100644 --- a/modules/shell.cpp +++ b/modules/shell.cpp @@ -146,7 +146,7 @@ private: void CShellSock::ReadLine(const CString& sData) { CString sLine = sData; - while ((sLine.length()) && (sLine[sLine.length() -1] == '\r') || (sLine[sLine.length() -1] == '\n')) { + while (sLine.length() && (sLine[sLine.length() -1] == '\r' || sLine[sLine.length() -1] == '\n')) { sLine = sLine.substr(0, sLine.length() -1); }