typedef void (*channel_mode_func_t)(struct userNode *who, struct chanNode *channel, char **mode, unsigned int argc, void *extra);
void reg_channel_mode_func(channel_mode_func_t func, void *extra);
/* auth_funcs are called when a user gets a new handle_info. They are
* called *after* user->handle_info has been updated. */
typedef void (*channel_mode_func_t)(struct userNode *who, struct chanNode *channel, char **mode, unsigned int argc, void *extra);
void reg_channel_mode_func(channel_mode_func_t func, void *extra);
/* auth_funcs are called when a user gets a new handle_info. They are
* called *after* user->handle_info has been updated. */