summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/Status_network.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Status_network.php b/classes/Status_network.php
index 96b6d9a05..bf05ad61e 100644
--- a/classes/Status_network.php
+++ b/classes/Status_network.php
@@ -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);