Add MLOCK message to netjoin burst.

This commit is contained in:
William Pitcock 2010-03-07 22:29:34 -06:00
parent 27958781f6
commit 6b5059c363
1 changed files with 5 additions and 0 deletions

View File

@ -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);
} }