summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-11-17 19:59:23 -0500
committerAdam <Adam@anope.org>2010-11-17 19:59:23 -0500
commit27652144ec6e30e88cdef3dc39aa2168f3f31cc8 (patch)
tree4b7c05e520b5ff7c2f9cdfc17441d87909c91933 /modules
parent4f8dfc2132e2c67bf8047cbba0a78ea22e870d28 (diff)
Fixed the mlock events to be useful and fixed /cs access view's last used time
Diffstat (limited to 'modules')
-rw-r--r--modules/core/cs_access.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/cs_access.cpp b/modules/core/cs_access.cpp
index 2b94885a1..9f77baead 100644
--- a/modules/core/cs_access.cpp
+++ b/modules/core/cs_access.cpp
@@ -82,7 +82,7 @@ class AccessViewCallback : public AccessListCallback
static void DoList(User *u, ChannelInfo *ci, unsigned Number, ChanAccess *access)
{
Anope::string timebuf;
- if (ci->c && u->Account() && nc_on_chan(ci->c, u->Account()))
+ if (ci->c && nc_on_chan(ci->c, access->nc))
timebuf = "Now";
else if (access->last_seen == 0)
timebuf = "Never";