added automatic unregistration of unvisited channel
[NeonServV5.git] / src / modules / DummyServ.mod / bot_DummyServ.c
index 01170154bc97b41e798753b8e63d0b644aee5c71..5eeff5a6fcf02b4fc220612147d3e8622f5cab7d 100644 (file)
@@ -15,6 +15,7 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>. 
  */
 #include "../module.h"
+#include "../botid.h"
 
 #include "bot_DummyServ.h"
 #include "../../modcmd.h"
@@ -37,7 +38,7 @@
 #include "../../EventLogger.h"
 #include "../../bots.h"
 
-#define BOTID 3
+#define BOTID DUMMYSERV_BOTID
 #define BOTALIAS "DummyServ"
 
 static void dummyserv_bot_ready(struct ClientSocket *client) {