It doesn't look like there's a setting for that, just one for moderators able to see ips or not. I'm not familiar with what mods are out there so I don't know if there's an existing mod for this (and of course you can't search for 'ip'). But you could edit template postbit_ip and add a line at the beginning
Code:
<if condition="!is_member_of($post, 6) OR is_member_of($bbuserinfo, 6)">
and an extra </if> at the end. But that will only stop the icon from showing up next to admins' posts. It wouldn't stop a moderator from going directly to the page that displays the ip and host name (like when you click on the icon).
There's a threadmanage_getip hook where you could make a plugin to handle that, but you can't do the same logic because at that point the post user info isn't available (You could make it available, but it gets a little more complicated). But what you could do it stop moderators from using that function altogether by using plugin code something like:
Code:
if (!is_member_of($bbuserinfo, 6))
{
print_no_permission();
}
I'm not sure if there's anywhere else a moderator can get admin ip info (like in the moderator control panel maybe?). You'd have to handle that separately of course.
I guess a different approach would be to stop logging of ips for admins, although I guess there could be situations where you'd want that info.