added Makefile.am to each directory
[NeonServV5.git] / src / modules / DummyServ.mod / bot_DummyServ.c
index 9d9d7207ad24d64a4bc81865a16cd307ca71236b..51d8bfb0e153f805e26a1b25209465a871f4d5ff 100644 (file)
 #include "../module.h"
 
 #include "bot_DummyServ.h"
-#include "modcmd.h"
-#include "IRCParser.h"
-#include "IRCEvents.h"
-#include "UserNode.h"
-#include "ChanNode.h"
-#include "ChanUser.h"
-#include "ModeNode.h"
-#include "BanNode.h"
-#include "ClientSocket.h"
-#include "mysqlConn.h"
-#include "lang.h"
-#include "HandleInfoHandler.h"
-#include "WHOHandler.h"
-#include "DBHelper.h"
-#include "tools.h"
-#include "timeq.h"
-#include "version.h"
-#include "EventLogger.h"
-#include "bots.h"
-#include "cmd_neonserv.h"
-#include "cmd_neonspam.h"
+#include "../../modcmd.h"
+#include "../../IRCParser.h"
+#include "../../IRCEvents.h"
+#include "../../UserNode.h"
+#include "../../ChanNode.h"
+#include "../../ChanUser.h"
+#include "../../ModeNode.h"
+#include "../../BanNode.h"
+#include "../../ClientSocket.h"
+#include "../../mysqlConn.h"
+#include "../../lang.h"
+#include "../../HandleInfoHandler.h"
+#include "../../WHOHandler.h"
+#include "../../DBHelper.h"
+#include "../../tools.h"
+#include "../../timeq.h"
+#include "../../version.h"
+#include "../../EventLogger.h"
+#include "../../bots.h"
 
 #define BOTID 3
 #define BOTALIAS "DummyServ"
@@ -113,9 +111,9 @@ void init_DummyServ(int type) {
     if(type == MODSTATE_REBIND) return;
     
     //register events
-    bind_bot_ready(dummyserv_bot_ready);
+    bind_bot_ready(dummyserv_bot_ready, module_id);
     
-    set_trigger_callback(BOTID, dummyserv_trigger_callback);
+    set_trigger_callback(BOTID, module_id, dummyserv_trigger_callback);
 }
 
 void loop_DummyServ() {