1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-30 03:56:39 +02:00

Fix for vhost checking code in cmd_uid, which didn't take into account '*' (no vhost set)

This commit is contained in:
Bram Matthys
2021-08-12 15:19:59 +02:00
parent 7f55159f77
commit b48d7f8003
+1 -1
View File
@@ -533,7 +533,7 @@ CMD_FUNC(cmd_uid)
return;
}
if (!valid_host(virthost))
if (strcmp(virthost, "*") && !valid_host(virthost))
{
ircstats.is_kill++;
unreal_log(ULOG_ERROR, "link", "BAD_HOSTNAME", client,