]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - include/channel.h
Remove silly a2client_p, entirely pointless since User.server removal.
[irc/rqf/shadowircd.git] / include / channel.h
index ce9ef0047bdc7f174a588201509bd6afb6de113f..3363fb72596ad8be8d7a6d28008c8946925f8964 100644 (file)
@@ -21,7 +21,7 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  *  USA
  *
- *  $Id: channel.h 2727 2006-11-09 23:48:45Z jilles $
+ *  $Id: channel.h 3580 2007-11-07 23:45:14Z jilles $
  */
 
 #ifndef INCLUDED_channel_h
@@ -93,7 +93,7 @@ struct membership
        unsigned long bants;
 };
 
-#define BANLEN NICKLEN+USERLEN+HOSTLEN+6
+#define BANLEN 195
 struct Ban
 {
        char *banstr;
@@ -102,6 +102,12 @@ struct Ban
        dlink_node node;
 };
 
+struct mode_letter
+{
+       int mode;
+       char letter;
+};
+
 struct ChModeChange
 {
        char letter;
@@ -254,6 +260,8 @@ extern void send_cap_mode_changes(struct Client *client_p, struct Client *source
 extern void set_channel_mode(struct Client *client_p, struct Client *source_p,
                struct Channel *chptr, struct membership *msptr, int parc, const char *parv[]);
 
+extern const struct mode_letter chmode_flags[];
+
 extern struct ChannelMode chmode_table[256];
 
 extern int add_id(struct Client *source_p, struct Channel *chptr, const char *banid,