1
0
mirror of https://github.com/anope/anope.git synced 2026-06-12 19:14:47 +02:00

Fix marking channels as persistent on InspIRCd and UnrealIRCd.

This commit is contained in:
Sadie Powell
2024-10-18 11:25:16 +01:00
parent e704fa6266
commit e5602f956d
+4 -1
View File
@@ -378,8 +378,11 @@ class ChanServCore : public Module, public ChanServService
return EVENT_CONTINUE;
}
void OnPostInit() anope_override
void OnUplinkSync() anope_override
{
// We need to do this when the uplink is synced as we may not know if
// the mode exists before then on some IRCds (e.g. InspIRCd).
if (!persist)
return;