summaryrefslogtreecommitdiff
path: root/classes/Status_network.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-06-15 14:29:25 -0700
committerEvan Prodromou <evan@controlyourself.ca>2009-06-15 14:29:25 -0700
commit6532f0dff63576c94debe521d1ff8d9f594fe422 (patch)
treeb06e7815e827710032c54f4df97be2fb97009e1a /classes/Status_network.php
parentd6ff702d7f0937451c8595c7b3cbfb9f2813a07b (diff)
strncmp -> strcasecmp
Diffstat (limited to 'classes/Status_network.php')
-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);