moved privctcp handler and use it for both bots
[NeonServV5.git] / src / bots.h
index debf219d5dd37048dd2e5f2cb6881daaf89ebe4f..742544b4ea4e43a6a9bef820892f5e75de6a81e8 100644 (file)
 #define _bots_h
 
 #include "main.h"
+#include "timeq.h"
+
+struct UserNode;
+struct ChanNode;
+struct ClientSocket;
 
 void init_bots();
 void loop_bots();
 void free_bots();
 
+struct ClientSocket *getChannelBot(struct ChanNode *chan, int botid);
+TIMEQ_CALLBACK(channel_ban_timeout);
+void general_event_privctcp(struct UserNode *user, struct UserNode *target, char *command, char *text);
+
 #endif
\ No newline at end of file