strncmp -> strcasecmp
This commit is contained in:
parent
d6ff702d7f
commit
6532f0dff6
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user