moved privctcp handler and use it for both bots
[NeonServV5.git] / src / bots.h
index c0dcd299bcde5587b016d2ef597ac84df9ed4b54..742544b4ea4e43a6a9bef820892f5e75de6a81e8 100644 (file)
@@ -20,6 +20,7 @@
 #include "main.h"
 #include "timeq.h"
 
+struct UserNode;
 struct ChanNode;
 struct ClientSocket;
 
@@ -29,5 +30,6 @@ 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