Fixes ipv6 and doesn't screw up privmsgs with colons