projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
moved privctcp handler and use it for both bots
[NeonServV5.git]
/
src
/
bots.h
diff --git
a/src/bots.h
b/src/bots.h
index c0dcd299bcde5587b016d2ef597ac84df9ed4b54..742544b4ea4e43a6a9bef820892f5e75de6a81e8 100644
(file)
--- a/
src/bots.h
+++ b/
src/bots.h
@@
-20,6
+20,7
@@
#include "main.h"
#include "timeq.h"
#include "main.h"
#include "timeq.h"
+struct UserNode;
struct ChanNode;
struct ClientSocket;
struct ChanNode;
struct ClientSocket;
@@
-29,5
+30,6
@@
void free_bots();
struct ClientSocket *getChannelBot(struct ChanNode *chan, int botid);
TIMEQ_CALLBACK(channel_ban_timeout);
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
#endif
\ No newline at end of file