]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - include/chmode.h
m_challenge: fix use of undefined behaviour.
[irc/rqf/shadowircd.git] / include / chmode.h
index 897c64fd833427d6fba3f5a885cf79b8c22a6e99..915741f69b160deaff3eb685c4b7371fc56e9784 100644 (file)
@@ -66,10 +66,7 @@ extern void chm_key(struct Client *source_p, struct Channel *chptr,
 extern void chm_limit(struct Client *source_p, struct Channel *chptr,
           int alevel, int parc, int *parn,
           const char **parv, int *errors, int dir, char c, long mode_type);
-extern void chm_regonly(struct Client *source_p, struct Channel *chptr,
-          int alevel, int parc, int *parn,
-          const char **parv, int *errors, int dir, char c, long mode_type);
-extern void chm_owner(struct Client *source_p, struct Channel *chptr,
+extern void chm_admin(struct Client *source_p, struct Channel *chptr,
           int alevel, int parc, int *parn,
           const char **parv, int *errors, int dir, char c, long mode_type);
 extern void chm_op(struct Client *source_p, struct Channel *chptr,
@@ -82,10 +79,12 @@ extern void chm_voice(struct Client *source_p, struct Channel *chptr,
           int alevel, int parc, int *parn,
           const char **parv, int *errors, int dir, char c, long mode_type);
 
-extern void construct_noparam_modes(void);
-extern void find_orphaned_cflags(void);
-extern unsigned int find_cflag_slot(void);
+extern unsigned int cflag_add(char c, ChannelModeFunc function);
+extern void cflag_orphan(char c);
+extern void construct_cflags_strings(void);
+extern void construct_cflag_param_string(void);
 extern char cflagsbuf[256];
 extern char cflagsmyinfo[256];
+extern char cflagsparaminfo[256];
 
 #endif