On IRC you don't ignore IPs, you ignore hosts; and whether the host is a numeric IP, a resolved address or a funny quote is up to the server. You can still get the sender's IP from $get($nick).ip, but if you try to /ignore it chances are that it won't have any effect.