1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 04:16:37 +02:00

Fix os_news to not load items until the news service is constructed

Fix session exceptions not expirigin
This commit is contained in:
Adam
2013-09-12 08:07:11 -04:00
parent e5ece18ee7
commit abc7e4b423
3 changed files with 18 additions and 5 deletions
+2
View File
@@ -30,6 +30,8 @@ class CommandOSModInfo : public Command
if (m)
{
source.Reply(_("Module: \002%s\002 Version: \002%s\002 Author: \002%s\002 loaded: \002%s\002"), m->name.c_str(), !m->version.empty() ? m->version.c_str() : "?", !m->author.empty() ? m->author.c_str() : "Unknown", Anope::strftime(m->created).c_str());
if (Anope::Debug)
source.Reply(_(" Loaded at: %p"), m->handle);
std::vector<Anope::string> servicekeys = Service::GetServiceKeys("Command");
for (unsigned i = 0; i < servicekeys.size(); ++i)