If use_forward=no, ignore any forwarding for joins by local users.
This commit is contained in:
parent
1aa35c8af1
commit
6a85e665db
1 changed files with 2 additions and 2 deletions
|
@ -100,8 +100,8 @@ check_forward(struct Client *source_p, struct Channel *chptr,
|
|||
if ((*err = can_join(source_p, chptr, key, &next)) == 0)
|
||||
return chptr;
|
||||
|
||||
/* User is +Q */
|
||||
if (IsNoForward(source_p))
|
||||
/* User is +Q, or forwarding disabled */
|
||||
if (IsNoForward(source_p) || !ConfigChannel.use_forward)
|
||||
return NULL;
|
||||
|
||||
while (depth < 16)
|
||||
|
|
Loading…
Reference in a new issue