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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user