I'd still use Iori's if ($banmask iswm $ial($me)) code, his checks for all banmasks on you not just *!*@host. smile