View Issue Details

IDProjectCategoryView StatusLast Update
0001682Anope Stable (2.0.x series)Generalpublic2016-07-03 18:44
ReporterRobby Assigned ToAdam  
Status resolvedResolutionfixed 
Summary0001682: ChanServ's MODE SET +b/BAN command strips the CIDR part away when a CIDR block is specified.
DescriptionChanServ's MODE SET +b command strips the "/32" part away in "*!*@2001:DB8::/32".
The same happens for +e and +I.

ChanServ's BAN command also has the same issue.
Steps To ReproduceFor CS MODE:
/CS MODE #Test SET +b *!*@2001:DB8::/32
On channel: ChanServ sets mode: +b *!*@2001:DB8::

/CS BAN #Test *!*@2001:DB8::/32
-ChanServ- No users on #Test match *!*@2001:DB8::.
On channel: ChanServ sets mode: +b *!*@2001:DB8::
Additional InformationManually setting a ban on *!*@2001:DB8::/32 and then doing:
/CS MODE #Test SET -b *!*@2001:DB8::/32
does work as expected.
TagsNo tags attached.



2016-07-03 18:44

administrator   ~0006805

Thanks, fixed in 8dc687b657205abefeb1a779ea42070721252e14

Issue History

Date Modified Username Field Change
2016-07-02 21:40 Robby New Issue
2016-07-03 18:44 Adam Note Added: 0006805
2016-07-03 18:44 Adam Status new => resolved
2016-07-03 18:44 Adam Resolution open => fixed
2016-07-03 18:44 Adam Assigned To => Adam