From 084ecbe030416ee7db2da97cdae28a4c73c42e3e Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sun, 7 Mar 2010 22:29:34 -0600 Subject: [PATCH] Add MLOCK message to netjoin burst. --- src/s_serv.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/s_serv.c b/src/s_serv.c index 1a4705cd..ec7d3881 100644 --- a/src/s_serv.c +++ b/src/s_serv.c @@ -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); }