summaryrefslogtreecommitdiff
path: root/src/inspircd_io.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-03-26 13:27:19 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-03-26 13:27:19 +0000
commit71f68ddb7d61f8bc77dab31d91b4bde3798ec56a (patch)
tree2171efd5182d7b1dd3dfa710979472c96601d3aa /src/inspircd_io.cpp
parent471e272e199afbbfcda3107dcb59bbe9ceb995e8 (diff)
Fixed a minor typo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@915 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd_io.cpp')
-rw-r--r--src/inspircd_io.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd_io.cpp b/src/inspircd_io.cpp
index 45709fcf9..7fd5c952d 100644
--- a/src/inspircd_io.cpp
+++ b/src/inspircd_io.cpp
@@ -143,7 +143,7 @@ std::string ConfProcess(char* buffer, long linenumber, std::stringstream* errors
}
// firstly clean up the line by stripping spaces from the start and end and converting tabs to spaces
for (int d = 0; d < strlen(buffer); d++)
- if (buffer[d]) == 9)
+ if ((buffer[d]) == 9)
buffer[d] = ' ';
while ((buffer[0] == ' ') && (strlen(buffer)>0)) buffer++;
while ((buffer[strlen(buffer)-1] == ' ') && (strlen(buffer)>0)) buffer[strlen(buffer)-1] = '\0';