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

Fix a crash on exit when uplink lost and globaloncycledown set.

This commit is contained in:
Kufat
2026-07-05 03:18:59 -04:00
committed by GitHub
parent c784f08002
commit e47d379d98
+6 -1
View File
@@ -156,7 +156,12 @@ public:
if (server)
this->ServerGlobal(sender, server, false, line);
else
this->ServerGlobal(sender, Servers::GetUplink(), true, line);
{
auto* uplink = Servers::GetUplink();
if (!uplink)
return false;
this->ServerGlobal(sender, uplink, true, line);
}
return true;
}