1
0
mirror of https://github.com/anope/anope.git synced 2026-07-08 06:43:12 +02:00

Add "simple seen" mode to cs_seen

This commit is contained in:
Adam
2013-08-10 15:52:02 -04:00
parent f8cdcc65c6
commit 58c05687bf
3 changed files with 86 additions and 8 deletions
+1 -4
View File
@@ -467,12 +467,9 @@ AccessGroup ChannelInfo::AccessFor(const NickCore *nc)
}
if (group.founder || !group.empty())
{
this->last_used = Anope::CurTime;
for (unsigned i = 0; i < group.size(); ++i)
group[i]->last_seen = Anope::CurTime;
}
/* don't update access last seen here, this isn't the user requesting access */
return group;
}