mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
Do not penalize for spambot checks if creating a new channel.
This commit is contained in:
parent
981586df2b
commit
ff91faaf76
1 changed files with 2 additions and 1 deletions
|
@ -305,7 +305,8 @@ m_join(struct Client *client_p, struct Client *source_p, int parc, const char *p
|
|||
sendto_one_numeric(source_p, ERR_LINKCHANNEL, form_str(ERR_LINKCHANNEL), name, chptr->chname);
|
||||
}
|
||||
|
||||
if(!IsOper(source_p) && !IsExemptSpambot(source_p))
|
||||
if(flags == 0 &&
|
||||
!IsOper(source_p) && !IsExemptSpambot(source_p))
|
||||
check_spambot_warning(source_p, name);
|
||||
|
||||
/* add the user to the channel */
|
||||
|
|
Loading…
Reference in a new issue