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:
+1
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user