don't allow users to change their nick if the new nick is banned in a channel the...
[ircu2.10.12-pk.git] / include / channel.h
index 50547c2922f1ae6acf834d5a68b19c37472e9648..32bea51e352f386a1c90396357599d99c8965cc0 100644 (file)
@@ -413,7 +413,7 @@ extern struct Client* find_chasing(struct Client* sptr, const char* user, int* c
 void add_invite(struct Client *cptr, struct Channel *chptr);
 int number_of_zombies(struct Channel *chptr);
 
-extern const char* find_no_nickchange_channel(struct Client* cptr);
+extern const char* find_no_nickchange_channel(struct Client* cptr, const char* new_nick);
 extern struct Membership* find_channel_member(struct Client* cptr, struct Channel* chptr);
 extern int member_can_send_to_channel(struct Membership* member, int reveal);
 extern int client_can_send_to_channel(struct Client *cptr, struct Channel *chptr, int reveal);