From 318552487d077bb20c8f320c564a7b1e652cf885 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 10 Aug 2006 18:54:29 +0000 Subject: Move strlower into nspace namespace where hash lives git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4850 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_helpop.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/modules') 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++) { -- cgit v1.2.3