summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-10 18:54:29 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-10 18:54:29 +0000
commit318552487d077bb20c8f320c564a7b1e652cf885 (patch)
tree6150c032f391d79eb410256b0b889d5e671139ad /src/modules
parente51a4b5c29deac855496d6658a3c4612a61ffbb7 (diff)
Move strlower into nspace namespace where hash<std::string> lives
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4850 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_helpop.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_helpop.cpp b/src/modules/m_helpop.cpp
index 28e826276..00ba05c24 100644
--- a/src/modules/m_helpop.cpp
+++ b/src/modules/m_helpop.cpp
@@ -149,7 +149,8 @@ bool do_helpop(const char** parameters, int pcnt, userrec *src)
strlcpy(search,parameters[0],MAXBUF);
}
- strlower(search);
+ for (char* n = search; *n; n++)
+ *n = tolower(*n);
for (int i = 1; output != ""; i++)
{