summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-25 15:40:07 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-25 15:40:07 +0000
commit9f4210a4ab79bb0edd6b29011b7bb583c365bcdd (patch)
tree49b2dca12c98223282ff4ac5d878e6c70a4c89e0
parentd21798d24e62b8afbb1e9e0d776192ef30f099e7 (diff)
Now works on gcc 2.95.x again.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1186 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_chanfilter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_chanfilter.cpp b/src/modules/m_chanfilter.cpp
index 3f343202c..44027b1fe 100644
--- a/src/modules/m_chanfilter.cpp
+++ b/src/modules/m_chanfilter.cpp
@@ -127,7 +127,7 @@ class ModuleChanFilter : public Module
{
chanrec* chan = (chanrec*)target;
- for (int j = 0; j < strlen(params[0]); j++)
+ for (int j = 0; j < params[0].length(); j++)
params[0][j] = tolower(params[0][j]);
std::string param = params[0];