Wouldn't...
Code:
if ($banmask iswm $ial($me)) { .. }


Or any other variation be triggered on someone with a similar host as your own? For example.. If my host was @p2p-59D4DBC9.mc.at.cox.net and someone banned *!*@p2p-G9T48BH6.bl.at.cox.net wouldn't that trigger it since it has the at.cox.net bit in it?

I've actually been trying to figure out a way to determine if the person being banned is you or not for a long time now.