X-Git-Url: http://git.pk910.de/?p=PHP-P10.git;a=blobdiff_plain;f=Bots%2FStats.class.php;h=df3db8c1eaa902b3f465946c34f580b7c484aa10;hp=4fc06a2ad84d82fc11268257993b26b10335a393;hb=cba81599e819e50231c50c531cca7964667a8b0e;hpb=8be3a6c1707de83881176d789145a6c175e35dc2 diff --git a/Bots/Stats.class.php b/Bots/Stats.class.php index 4fc06a2..df3db8c 100644 --- a/Bots/Stats.class.php +++ b/Bots/Stats.class.php @@ -146,7 +146,7 @@ class {$_NAME} extends Bot { if($user->isAway()) $stats['away']++; else $stats['here']++; if($user->getModes()->hasMode('o')) $stats['opers']++; - if($user->getIP()->isLocalAddress()) $stats['local']++; + if($user->getIP()->isLocalAddress(true)) $stats['local']++; if($user->getIP()->isIPv6()) $stats['ipv6']++; else $stats['ipv4']++; }