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