]> jfr.im git - solanum.git/blobdiff - ircd/s_user.c
ircd: implement EXTENDCHANS, based on ircd-seven (with some improvements from chatircd)
[solanum.git] / ircd / s_user.c
index ad95ff54dd8a705635da97622b762f7d4e7a1412..55a0bb557771e4250e7d6d9ff78c12e724c5a856 100644 (file)
@@ -868,6 +868,12 @@ report_and_set_user_flags(struct Client *source_p, struct ConfItem *aconf)
                SetExemptShide(source_p);
                sendto_one_notice(source_p, ":*** You are exempt from serverhiding");
        }
+
+       if(IsConfExtendChans(aconf))
+       {
+               SetExtendChans(source_p);
+               sendto_one_notice(source_p, ":*** You are exempt from normal channel limits");
+       }
 }
 
 static void
@@ -1309,6 +1315,7 @@ oper_up(struct Client *source_p, struct oper_conf *oper_p)
 
        Count.oper++;
 
+       SetExtendChans(source_p);
        SetExemptKline(source_p);
 
        source_p->flags2 |= oper_p->flags;