extended MODE_FORWARD check (check if the user is allowed to use the passed target...
[srvx.git] / src / proto-bahamut.c
index 18bceebe5bbe091e601cfada3ce6925b5d21369c..99ffa3bf9800a778a3469e44f0e6f7199494c4c5 100644 (file)
@@ -1230,7 +1230,7 @@ void mod_usermode(struct userNode *user, const char *mode_change) {
 }
 
 struct mod_chanmode *
-mod_chanmode_parse(struct chanNode *channel, char **modes, unsigned int argc, unsigned int flags, short base_oplevel)
+mod_chanmode_parse(struct chanNode *channel, struct userNode *user, char **modes, unsigned int argc, unsigned int flags, short base_oplevel)
 {
     struct mod_chanmode *change;
     unsigned int ii, in_arg, ch_arg, add;