ircd: implement EXTENDCHANS, based on ircd-seven (with some improvements from chatircd)
This commit is contained in:
parent
fe749d3709
commit
a4721f5e9f
13 changed files with 164 additions and 12 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue