diff options
-rw-r--r-- | src/modules/m_helpop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_helpop.cpp b/src/modules/m_helpop.cpp index 00e886cb4..71b9013e4 100644 --- a/src/modules/m_helpop.cpp +++ b/src/modules/m_helpop.cpp @@ -94,7 +94,7 @@ bool do_helpop(char **parameters, int pcnt, userrec *src) // FIX by brain: make the string lowercase, ConfigReader is // case sensitive char lower[MAXBUF]; - strcpy(lower,search,MAXBUF); + strlcpy(lower,search,MAXBUF); for (int t = 0; t < strlen(lower); t++) lower[t] = tolower(lower[t]); |