diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-26 20:23:03 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-26 20:23:03 +0000 |
commit | daecd74c334c6d769c3d61990fe6c8430a0015d7 (patch) | |
tree | 8f1695d60670d6b27cbdfdb3bb6cd35b5b5c09a8 /src | |
parent | 8eb983dd647fb7d2082b06626f85af1d119bf9d4 (diff) |
strlen tidyup #2
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1202 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/inspircd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 0e36bc674..cd32f861c 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -1235,7 +1235,7 @@ void strlower(char *n) { return; } - for (int i = 0; i != strlen(n); i++) + for (int i = 0; n[i] != 0; i++) { n[i] = tolower(n[i]); if (n[i] == '[') |