summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-09 19:03:56 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-09 19:03:56 +0000
commit649a12c07ffd4340594486d31fa703fb78103222 (patch)
tree66b354a55523a12b8ad9c732f78c4df30fc0a8cd /src/core
parent65fd49d3628dd8d3bde8f70b58ac458785a261d7 (diff)
addModule + delModule compressed into constructor/destructor.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1615 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core')
-rw-r--r--src/core/os_modinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/os_modinfo.c b/src/core/os_modinfo.c
index 0f9452978..c01ac26f7 100644
--- a/src/core/os_modinfo.c
+++ b/src/core/os_modinfo.c
@@ -67,7 +67,7 @@ int do_modinfo(User * u)
}
m = findModule(file);
if (m) {
- tm = *localtime(&m->time);
+ tm = *localtime(&m->created);
strftime_lang(timebuf, sizeof(timebuf), u,
STRFTIME_DATE_TIME_FORMAT, &tm);
notice_lang(s_OperServ, u, OPER_MODULE_INFO_LIST, m->name.c_str(),