Since $address returns the user mask in a user[/b]@[b]host form, it can't match an exact IP address. $site is what you need smile