removed unused code in bots.c
[NeonServV5.git] / src / ChanNode.c
index 1ea32d4e4894b3054b48d1f3b2f87d3bf2b99a22..cf3c1dbef1a4950357bd54e3a269eacf89d1d53a 100644 (file)
@@ -1,4 +1,4 @@
-/* ChanNode.c - NeonServ v5.5
+/* ChanNode.c - NeonServ v5.6
  * Copyright (C) 2011-2012  Philipp Kreil (pk910)
  * 
  * This program is free software: you can redistribute it and/or modify
@@ -138,6 +138,7 @@ struct ChanNode* addChannel(const char *name) {
     chan->bans = NULL;
     chan->spam_settings = NULL;
     chan->usercount = 0;
+    chan->botcount = 0;
     chan->topic[0] = 0;
     chan->flags = 0;
     /* mode lists */