summaryrefslogtreecommitdiff
path: root/includes/utils.php
diff options
context:
space:
mode:
authorGuillaume Mazoyer <gmazoyer@gravitons.in>2015-11-08 13:35:26 +0100
committerGuillaume Mazoyer <gmazoyer@gravitons.in>2015-11-08 13:35:26 +0100
commit4cd149f3be6615713be3781e67fee6f62c2a5cf9 (patch)
tree09d1c10e231dbaaad67a9035baac287cb354783f /includes/utils.php
parente2a3cb9590b80b1cba7619f2857fda95d36ada9e (diff)
Fix derp, typo.
Diffstat (limited to 'includes/utils.php')
-rw-r--r--includes/utils.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/utils.php b/includes/utils.php
index 887f0d5..96982ea 100644
--- a/includes/utils.php
+++ b/includes/utils.php
@@ -154,7 +154,7 @@ function match_ipv6($ip, $ip_only = true) {
*/
function match_hostname($hostname) {
// That's an IP address so it is not a valid hostname.
- if (match_ipv4($hostame) || match_ipv6($hostname)) {
+ if (match_ipv4($hostname) || match_ipv6($hostname)) {
return false;
}