Skip to content

Commit

Permalink
Don't warn for numeric IP
Browse files Browse the repository at this point in the history
  • Loading branch information
pudge committed Aug 6, 2004
1 parent 46d969a commit a10c330
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Slash/Utility/Environment/Environment.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2369,7 +2369,8 @@ sub determineCurrentSkin {
($skin) = grep { lc $skins->{$_}{hostname} eq lc $hostname }
sort { $a <=> $b } keys %$skins;
if (!$skin) {
# don't bother warning if $hostname is numeric IP
if (!$skin && $hostname !~ /^\d+\.\d+\.\d+\.\d+$/) {
$skin = getCurrentStatic('mainpage_skid');
if (!$skin) {
errorLog("determineCurrentSkin called but no skin found (even default) for $hostname\n");
Expand Down

0 comments on commit a10c330

Please sign in to comment.