From 284dab9976d92af6495a601e29ca7cc2514e35b0 Mon Sep 17 00:00:00 2001 From: Frederic Marchal Date: Mon, 27 Jul 2015 20:11:47 +0200 Subject: [PATCH] Hide the alias prefix for the user name When a host name is replaced by an alias, the host name is prefixed with a * to write it with no link to a special function such as a link to block that url. Host name don't need that prefix. --- userinfo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/userinfo.c b/userinfo.c index f7e5e0b..45d92a8 100644 --- a/userinfo.c +++ b/userinfo.c @@ -455,6 +455,7 @@ enum UserProcessError process_user(const char **UserPtr,const char *IpAddress,bo auser=Alias_Replace(UserAliases,user); if (auser!=user) { + if (*auser==ALIAS_PREFIX) auser++;//no need for that indicator for a user name user=auser; *IsIp=false; } -- 2.47.3