diff options
author | Adam <Adam@anope.org> | 2017-10-08 11:37:09 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2017-10-08 11:37:09 -0400 |
commit | 20c7bcad55597f17c01089ae2ec0c458bafa705f (patch) | |
tree | b23f8d20ed5caec167592debba920013aba23881 /src/init.cpp | |
parent | 85f10a20bb3f59afb0d97e42452f2aea60882551 (diff) |
Simplify initial burst of persistent channels
Also don't create/destroy channels as persist is set on and off which no
longer makes since with the live database backend
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp index aed6b8a24..98b753eb4 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -594,6 +594,8 @@ void Anope::Init(int ac, char **av) EventManager::Get()->Dispatch(&Event::LoadDatabase::OnLoadDatabase);; Anope::Logger.Log("Databases loaded"); + EventManager::Get()->Dispatch(&Event::PostInit::OnPostInit); + for (channel_map::const_iterator it = ChannelList.begin(), it_end = ChannelList.end(); it != it_end; ++it) it->second->Sync(); } |