From 52f2f768af8fbc251924c510eecb87f16b6af5bb Mon Sep 17 00:00:00 2001 From: Russell King Date: Sun, 5 Jun 2016 14:16:36 +0100 Subject: Add ^ support for SSL connections --- src/hash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/hash.c') diff --git a/src/hash.c b/src/hash.c index 48a20e2..4c8d820 100644 --- a/src/hash.c +++ b/src/hash.c @@ -569,7 +569,7 @@ add_user_host(const char *user, const char *host, int global) struct NameHost *nameh; int hasident = 1; - if (*user == '~') + if (*user == '~' || *user == '^') { hasident = 0; ++user; @@ -629,7 +629,7 @@ delete_user_host(const char *user, const char *host, int global) struct NameHost *nameh; int hasident = 1; - if (*user == '~') + if (*user == '~' || *user == '^') { hasident = 0; ++user; -- cgit