summaryrefslogtreecommitdiff
path: root/modules/commands/os_modinfo.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-09-12 08:07:11 -0400
committerAdam <Adam@anope.org>2013-09-27 16:33:03 -0400
commitabc7e4b423d6701e5771ff08b3eadf81f50488ec (patch)
tree4f5480e690bf01b5a9478eb188a5409aa9c11d24 /modules/commands/os_modinfo.cpp
parente5ece18ee7804ed81f1b0f80af30a9aea8320522 (diff)
Fix os_news to not load items until the news service is constructed
Fix session exceptions not expirigin
Diffstat (limited to 'modules/commands/os_modinfo.cpp')
-rw-r--r--modules/commands/os_modinfo.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/commands/os_modinfo.cpp b/modules/commands/os_modinfo.cpp
index 3563185ae..972f8631e 100644
--- a/modules/commands/os_modinfo.cpp
+++ b/modules/commands/os_modinfo.cpp
@@ -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)