Note that can_join() is not remote-user safe.
This commit is contained in:
parent
02e655aeac
commit
a63f7af7bb
1 changed files with 1 additions and 0 deletions
|
@ -705,6 +705,7 @@ is_quieted(struct Channel *chptr, struct Client *who, struct membership *msptr,
|
||||||
* input - client to check, channel to check for, key
|
* input - client to check, channel to check for, key
|
||||||
* output - reason for not being able to join, else 0
|
* output - reason for not being able to join, else 0
|
||||||
* side effects -
|
* side effects -
|
||||||
|
* caveats - this function should only be called on a local user.
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
can_join(struct Client *source_p, struct Channel *chptr, char *key)
|
can_join(struct Client *source_p, struct Channel *chptr, char *key)
|
||||||
|
|
Loading…
Reference in a new issue