X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fproto.h;fp=src%2Fproto.h;h=54c5e23a420a924f632bf61208e55fb46f422d89;hb=d5e8b0339ab451beb8ac6b97211109b02d6c66c8;hp=aa83e83a98490f84673411d71f38411da15d8bb8;hpb=573c044e6589b21596f6370dfaa1a863d3179b43;p=srvx.git diff --git a/src/proto.h b/src/proto.h index aa83e83..54c5e23 100644 --- a/src/proto.h +++ b/src/proto.h @@ -234,7 +234,7 @@ struct mod_chanmode { struct mod_chanmode *mod_chanmode_alloc(unsigned int argc); struct mod_chanmode *mod_chanmode_dup(struct mod_chanmode *orig, unsigned int extra); -struct mod_chanmode *mod_chanmode_parse(struct chanNode *channel, char **modes, unsigned int argc, unsigned int flags, short base_oplevel); +struct mod_chanmode *mod_chanmode_parse(struct chanNode *channel, struct userNode *user, char **modes, unsigned int argc, unsigned int flags, short base_oplevel); void mod_chanmode_apply(struct userNode *who, struct chanNode *channel, struct mod_chanmode *change); void mod_chanmode_announce(struct userNode *who, struct chanNode *channel, struct mod_chanmode *change); char *mod_chanmode_format(struct mod_chanmode *desc, char *buffer);