X-Git-Url: http://git.pk910.de/?p=NeonServV5.git;a=blobdiff_plain;f=src%2Fmodules%2FDummyServ.mod%2Fbot_DummyServ.c;h=51d8bfb0e153f805e26a1b25209465a871f4d5ff;hp=9d9d7207ad24d64a4bc81865a16cd307ca71236b;hb=8a990d2c87f8f8a6ca26dd2c6afef161dab2eb9e;hpb=706e48b1e666054030c491d864f740071e390038 diff --git a/src/modules/DummyServ.mod/bot_DummyServ.c b/src/modules/DummyServ.mod/bot_DummyServ.c index 9d9d720..51d8bfb 100644 --- a/src/modules/DummyServ.mod/bot_DummyServ.c +++ b/src/modules/DummyServ.mod/bot_DummyServ.c @@ -17,27 +17,25 @@ #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() {