summaryrefslogtreecommitdiff
path: root/src/modules/m_helpop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_helpop.cpp')
-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++)
{