diff options
Diffstat (limited to 'src/command_parse.cpp')
-rw-r--r-- | src/command_parse.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/command_parse.cpp b/src/command_parse.cpp index 1f17e4735..ff25ec878 100644 --- a/src/command_parse.cpp +++ b/src/command_parse.cpp @@ -114,12 +114,12 @@ int CommandParser::LoopCall(command_t* fn, char **parameters, int pcnt, userrec char moo[MAXBUF]; for (int i = 0; i <32; i++) - strcpy(blog[i],""); + *blog[i] = 0; for (int i = 0; i <32; i++) - strcpy(blog2[i],""); + *blog2[i] = 0; - strcpy(moo,""); + *moo = 0; for (int i = 0; i <10; i++) { if (!parameters[i]) @@ -143,7 +143,7 @@ int CommandParser::LoopCall(command_t* fn, char **parameters, int pcnt, userrec { return 0; } - strcpy(plist,""); + *plist = 0; for (int i = start; i <= end; i++) { if (parameters[i]) |