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

Fix crash when hideserver module is loaded but LINKS is not blocked.

This commit is contained in:
Bram Matthys
2022-05-01 13:36:10 +02:00
parent 3451919b06
commit b1daf5b832
+1 -1
View File
@@ -459,7 +459,7 @@ CMD_OVERRIDE_FUNC(override_links)
sendnumeric(client, RPL_LINKS, acptr->name, me.name,
1, (acptr->info[0] ? acptr->info : "(Unknown Location)"));
else
sendnumeric(client, RPL_LINKS, acptr->name, acptr->uplink->name,
sendnumeric(client, RPL_LINKS, acptr->name, acptr->uplink ? acptr->uplink->name : me.name,
acptr->hopcount, (acptr->info[0] ? acptr->info : "(Unknown Location)"));
}