]> jfr.im git - irc/quakenet/newserv.git/commit
Added CIDR ban support.
authorsplidge <redacted>
Sat, 2 Jun 2007 19:29:44 +0000 (20:29 +0100)
committersplidge <redacted>
Sat, 2 Jun 2007 19:29:44 +0000 (20:29 +0100)
commite340eee89a1d28e809877483cfe90ebb6c764597
tree1df4619051999cae2bc68865ba0af7fbf253002c
parent2a010087e193bb9956e1b1d7a0a6f6c40458caa2
Added CIDR ban support.

unsigned ints for mask and ipaddr have been added to the chanban structure.
If a CIDR or exact IP ban is detected, these are filled in and subsequently
used during ban matching.

A fix to channel.c to enable "reload channel" to work has also crept in, as
well as a 4-line rewrite of some retarded code in channel.c
bans/bans.c
bans/bans.h
channel/channel.c
channel/channelbans.c