summaryrefslogtreecommitdiff
path: root/src/cmd_modules.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_modules.cpp')
-rw-r--r--src/cmd_modules.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_modules.cpp b/src/cmd_modules.cpp
index 5d8625576..bdff5c7f8 100644
--- a/src/cmd_modules.cpp
+++ b/src/cmd_modules.cpp
@@ -69,7 +69,7 @@ void cmd_modules::Handle (char **parameters, int pcnt, userrec *user)
Version V = modules[i]->GetVersion();
char modulename[MAXBUF];
char flagstate[MAXBUF];
- strcpy(flagstate,"");
+ *flagstate = 0;
if (V.Flags & VF_STATIC)
strlcat(flagstate,", static",MAXBUF);
if (V.Flags & VF_VENDOR)