We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8e53a9 commit d8657c1Copy full SHA for d8657c1
1 file changed
src/Plugin.php
@@ -62,7 +62,7 @@ function_requirements('whm_api');
62
foreach (array_values($accts['result']) as $ipData) {
63
if ($ipData['mainaddr'] == '1')
64
$mainIp = $ipData['ip'];
65
- if ($ipData['used'] == 0 && $ipData['active'] == 1)
+ if ($ipData['used'] == 0 && $ipData['active'] == 1 && $ipData['dedicated'] == 1)
66
$freeips[] = $ipData['ip'];
67
if ($ipData['dedicated'] == 0)
68
$sharedIps[] = $ipData['ip'];
0 commit comments