*** VERSION 5.1.0 ***
[NeonServV5.git] / src / tools.c
index a961d62ab2e4f2c44ef1b7ed3078299fd7ca0446..e2637cc84737ab7d32f485158767fec240b87efd 100644 (file)
@@ -1,4 +1,4 @@
-/* tools.c - NeonServ v5.0
+/* tools.c - NeonServ v5.1
  * Copyright (C) 2011  Philipp Kreil (pk910)
  * 
  * This program is free software: you can redistribute it and/or modify
@@ -394,6 +394,7 @@ void flushModeBuffer(struct ModeBuffer *modeBuf) {
     char modeStr[MAXMODES+3];
     int modePos = 0;
     char paramStr[MAXLEN];
+    *paramStr = '\0';
     int paramPos = 0;
     int i;
     if(modeBuf->addCount) {