1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 01:46:39 +02:00

Fixed the mlock events to be useful and fixed /cs access view's last used time

This commit is contained in:
Adam
2010-11-17 19:59:23 -05:00
parent 4f8dfc2132
commit 27652144ec
3 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -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";