No this is the best way to get the ip address of each visitor to admin.

git-svn-id: https://plugins.svn.wordpress.org/admin-block-country/trunk@759733 b8457f37-d9ea-0310-8a92-e5e31aec5664