Note that can_join() is not remote-user safe.

This commit is contained in:
William Pitcock 2010-08-29 14:07:44 -05:00
parent 02e655aeac
commit a63f7af7bb

View file

@ -705,6 +705,7 @@ is_quieted(struct Channel *chptr, struct Client *who, struct membership *msptr,
* input - client to check, channel to check for, key
* output - reason for not being able to join, else 0
* side effects -
* caveats - this function should only be called on a local user.
*/
int
can_join(struct Client *source_p, struct Channel *chptr, char *key)