1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-06 11:33:13 +02:00

Newlog: server.c: Use SERVER_LINKED_REMOTE for remote links as

they use a slightly different format and you may want to exclude
these from certain logging. Also mention the correct uplink there.
This commit is contained in:
Bram Matthys
2021-08-08 11:15:44 +02:00
parent bac8b297c7
commit 2eb1f97d25
+2 -1
View File
@@ -1252,7 +1252,8 @@ CMD_FUNC(cmd_sid)
add_to_id_hash_table(acptr->id, acptr);
list_move(&acptr->client_node, &global_server_list);
unreal_log(ULOG_INFO, "link", "SERVER_LINKED", acptr, "Server linked: $client (via $client.server)");
unreal_log(ULOG_INFO, "link", "SERVER_LINKED_REMOTE", client,
"Server linked: $client (via $client.server.uplink)");
RunHook(HOOKTYPE_SERVER_CONNECT, acptr);