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