| 83 |
|
if (IsServer(source_p)) |
| 84 |
|
return; |
| 85 |
|
|
| 86 |
< |
if (*parv[2] == '\0') |
| 86 |
> |
if (EmptyString(parv[2])) |
| 87 |
|
{ |
| 88 |
|
sendto_one(source_p, form_str(ERR_NEEDMOREPARAMS), |
| 89 |
|
me.name, source_p->name, "INVITE"); |
| 160 |
|
if (atoi(parv[3]) > chptr->channelts) |
| 161 |
|
return; |
| 162 |
|
|
| 163 |
– |
if (!MyConnect(target_p) && ServerInfo.hub && |
| 164 |
– |
IsCapable(target_p->from, CAP_LL)) |
| 165 |
– |
{ |
| 166 |
– |
/* target_p is connected to a LL leaf, connected to us */ |
| 167 |
– |
if (IsClient(source_p)) |
| 168 |
– |
client_burst_if_needed(target_p->from, source_p); |
| 169 |
– |
|
| 170 |
– |
if ((chptr->lazyLinkChannelExists & |
| 171 |
– |
target_p->from->localClient->serverMask) == 0) |
| 172 |
– |
burst_channel(target_p->from, chptr); |
| 173 |
– |
} |
| 174 |
– |
|
| 163 |
|
if (MyConnect(target_p)) |
| 164 |
|
{ |
| 165 |
|
sendto_one(target_p, ":%s!%s@%s INVITE %s :%s", |