1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-10 01:03:12 +02:00

Permit unknown message tags from trusted servers.

This commit is contained in:
Bram Matthys
2021-08-16 13:48:09 +02:00
parent 48e3901f27
commit 7500de1060
+6
View File
@@ -148,7 +148,13 @@ int message_tag_ok(Client *client, char *name, char *value)
m = MessageTagHandlerFind(name);
if (!m)
{
/* Permit unknown message tags from trusted servers */
if (IsServer(client) || !MyConnect(client))
return 1;
return 0;
}
if (m->is_ok(client, name, value))
return 1;