strncmp -> strcasecmp

This commit is contained in:
Evan Prodromou 2009-06-15 14:29:25 -07:00
parent d6ff702d7f
commit 6532f0dff6
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ class Status_network extends DB_DataObject
if (0 == strncasecmp(strrev($wildcard), strrev($servername), strlen($wildcard))) {
// special case for exact match
if (0 == strncmp($servername, $wildcard)) {
if (0 == strcasecmp($servername, $wildcard)) {
$sn = Status_network::staticGet('nickname', '');
} else {
$parts = explode('.', $servername);