Mojira Archive
MC-97885

/ban-ip doesn't work with IPv6 addresses

The bug

The /ban-ip command doesn't work with IPv6 addresses and yields this error instead: Expected whitespace to end one argument, but found trailing data

How to reproduce

  1. Run:
    /ban-ip 2001:db8::1:2:3:4
    

    It actually doesn't ban the ip address, but throws an error instead