I altered the raw section to fix that issue.
The line
if (%WhoisIPInfo) { whoisip %snoticewhoisIP }
to be
if (%WhoisIPInfo) { if (!$sock(IPwhois)) { whoisip %snoticewhoisIP } }