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