added useless DummyServ (just for getting some events from channels, bots aren't...
[NeonServV5.git] / src / bots.c
index 1d95e182a05799ffdb7198e90dcefceb3b50ab31..b5cba8a18fefa9b213c7f3914df8fa0a9f6d4818 100644 (file)
@@ -1,4 +1,4 @@
-/* bots.c - NeonServ v5.1
+/* bots.c - NeonServ v5.2
  * Copyright (C) 2011  Philipp Kreil (pk910)
  * 
  * This program is free software: you can redistribute it and/or modify
 
 #include "bot_NeonServ.h"
 #include "bot_NeonSpam.h"
+#include "bot_DummyServ.h"
 
 void init_bots() {
     init_NeonServ();
     init_NeonSpam();
+    init_DummyServ();
     
     MYSQL_RES *res;
     MYSQL_ROW row;
@@ -51,11 +53,13 @@ void init_bots() {
 void loop_bots() {
     loop_NeonServ();
     loop_NeonSpam();
+    loop_DummyServ();
 }
 
 void free_bots() {
     free_NeonServ();
     free_NeonSpam();
+    free_DummyServ();
 }
 
 struct ClientSocket *getChannelBot(struct ChanNode *chan, int botid) {