added cmd_kick, cmd_kickban & all the functions depending on
[NeonServV5.git] / ChanNode.c
index 14ab084d43378595a7014712b653b8c80c739157..e00acb601866ee6428046b2671fb640c321b7a81 100644 (file)
@@ -156,6 +156,7 @@ struct ChanNode* addChannel(const char *name) {
     }
     strcpy(chan->name, name);
     chan->user = NULL;
+    chan->usercount = 0;
     chan->chanbot = NULL;
     chan->topic[0] = 0;
     chan->flags = 0;