Add MLOCK message to netjoin burst.
This commit is contained in:
parent
27958781f6
commit
6b5059c363
|
@ -678,6 +678,11 @@ burst_TS6(struct Client *client_p)
|
||||||
ConfigChannel.burst_topicwho ? " " : "",
|
ConfigChannel.burst_topicwho ? " " : "",
|
||||||
chptr->topic);
|
chptr->topic);
|
||||||
|
|
||||||
|
if(IsCapable(client_p, CAP_MLOCK))
|
||||||
|
sendto_one(client_p, ":%s MLOCK %ld %s %s",
|
||||||
|
me.id, (long) chptr->channelts, chptr->chname,
|
||||||
|
channel_mlock(client_p, chptr));
|
||||||
|
|
||||||
hchaninfo.chptr = chptr;
|
hchaninfo.chptr = chptr;
|
||||||
call_hook(h_burst_channel, &hchaninfo);
|
call_hook(h_burst_channel, &hchaninfo);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue