]> jfr.im git - irc/evilnet/x3.git/blobdiff - src/hash.h
sync, i know patch 20 isnt there.. its already been applied at some stage minus one...
[irc/evilnet/x3.git] / src / hash.h
index df203a778eead506815dfc25634d3090c1fd7a12..04af66d02d2dcd2a87f12494e91eeacdeb2a52fa 100644 (file)
@@ -50,6 +50,7 @@
 #define MODE_SSLONLY            0x00400000 /* +Z ssl only */
 #define MODE_HALFOP             0x00800000 /* +h USER */
 #define MODE_EXEMPT             0x01000000 /* +e exempt */
+#define MODE_HIDEMODE          0x02000000 /* +L hide modes */
 #define MODE_REMOVE             0x80000000
 
 #define FLAGS_OPER             0x0001 /* Operator +O */
 #define CHANNELLEN      200
 
 #define MAXMODEPARAMS  6
-#define MAXBANS                45
+#define MAXBANS                128
 #define MAXEXEMPTS     45
 
 /* IDLEN is 6 because it takes 5.33 Base64 digits to store 32 bytes. */
@@ -269,6 +270,7 @@ int ChannelExemptExists(struct chanNode *channel, const char *exempt);
 typedef int (*topic_func_t)(struct userNode *who, struct chanNode *chan, const char *old_topic);
 void reg_topic_func(topic_func_t handler);
 void SetChannelTopic(struct chanNode *channel, struct userNode *user, const char *topic, int announce);
+struct userNode *IsInChannel(struct chanNode *channel, struct userNode *user);
 
 void init_structs(void);