0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-10-04 14:48:56 +02:00

Add MLOCK message to netjoin burst.

This commit is contained in:
William Pitcock 2010-03-07 22:29:34 -06:00
parent ec55bec527
commit 084ecbe030

View file

@ -658,6 +658,11 @@ burst_TS6(struct Client *client_p)
ConfigChannel.burst_topicwho ? " " : "",
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;
call_hook(h_burst_channel, &hchaninfo);
}