]> jfr.im git - solanum.git/blobdiff - src/s_serv.c
Send numeric 735 on MLOCK policy-restricted mode changes that are ignored.
[solanum.git] / src / s_serv.c
index 1a4705cd930a0c9174e550914e933e1d1d00c7f5..3b4778b6be893dba96559eaad4a4afa620dd326b 100644 (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,
+                                  EmptyString(chptr->mode_lock) ? "" : chptr->mode_lock);
+
                hchaninfo.chptr = chptr;
                call_hook(h_burst_channel, &hchaninfo);
        }