From 96af354ad55e439be71b82077dd6a411b4746bbb Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 2 Dec 2013 02:01:39 -0500 Subject: Send channel topics on initial burst, sync chanels after db load, and try to after unserializing persist on --- src/init.cpp | 3 +++ src/servers.cpp | 2 ++ 2 files changed, 5 insertions(+) (limited to 'src') diff --git a/src/init.cpp b/src/init.cpp index fae776f9b..489f3b264 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -477,6 +477,9 @@ void Anope::Init(int ac, char **av) static_cast(MOD_RESULT); Log() << "Databases loaded"; + for (channel_map::const_iterator it = ChannelList.begin(), it_end = ChannelList.end(); it != it_end; ++it) + it->second->Sync(); + Serialize::CheckTypes(); } diff --git a/src/servers.cpp b/src/servers.cpp index 713e4a66e..ef7e221bd 100644 --- a/src/servers.cpp +++ b/src/servers.cpp @@ -123,6 +123,8 @@ Server::Server(Server *up, const Anope::string &sname, unsigned shops, const Ano continue; ModeManager::StackerAdd(c->ci->WhoSends(), c, cm, true, it2->second); } + + IRCD->SendTopic(c->ci->WhoSends(), c); } } } -- cgit