register this new command in modcmd
[NeonServV5.git] / ChanNode.h
index dce8c384171c22e025026e33aa10db77232f8a31..b62beff35fc8e1fa165bd05b4d6dbb5f4b59eee6 100644 (file)
@@ -3,6 +3,7 @@
 #include "main.h"
 
 struct ChanUser;
+struct trigger_cache;
 
 #define CHANFLAG_RECEIVED_USERLIST  0x01
 
@@ -15,11 +16,14 @@ struct ChanNode {
     char **mode_str_args;
     int *mode_int_args;
     struct UserNode *chanbot;
-
+    
+    struct trigger_cache *trigger;
+       
     struct ChanNode *next;
 };
 
 void init_ChanNode();
+void free_ChanNode();
 int is_valid_chan(const char *name);
 struct ChanNode* getChanByName(const char *name);
 struct ChanNode* addChannel(const char *chan);