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 ? " " : "", 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);
} }