added automatic multi-bot rejoin for opless channels
[NeonServV5.git] / src / ChanNode.h
index 9cb67e3d17f5f7977cf2226a65f524b7e7f7c918..74e50a86fa0e4e64ed67a32d2ede678028e6057c 100644 (file)
@@ -27,6 +27,7 @@ struct NeonSpamSettings;
 #define CHANFLAG_REQUESTED_CHANINFO 0x02
 #define CHANFLAG_CHAN_REGISTERED    0x04
 #define CHANFLAG_HAVE_INVISIBLES    0x08
+#define CHANFLAG_REJOINING          0x10
 
 struct ChanNode {
     char name[CHANNELLEN+1];
@@ -43,6 +44,8 @@ struct ChanNode {
     
     struct NeonSpamSettings *spam_settings;
        
+    void *rejoin_array;
+    
     struct ChanNode *next;
 };
 
@@ -57,6 +60,6 @@ int getChanUserCount();
 int getChanBanCount();
 void delChannel(struct ChanNode* chan, int freeChan);
 void freeChanNode(struct ChanNode* chan);
-void checkChannelVisibility(struct ChanNode* chan);
+int checkChannelVisibility(struct ChanNode* chan);
 
 #endif
\ No newline at end of file