]> jfr.im git - irc/quakenet/newserv.git/commitdiff
CHANSERV: lastactive is now only updated for +o and above joins (changes how often...
authorChris Porter <redacted>
Sun, 5 Feb 2012 03:13:09 +0000 (03:13 +0000)
committerChris Porter <redacted>
Sun, 5 Feb 2012 03:13:09 +0000 (03:13 +0000)
chanserv/chanservnetevents.c

index 6a419e119290831c622d4af9216bcdf99e593e57..7989f90664f690bc7e9aea5b973bc90163936931 100644 (file)
@@ -147,7 +147,7 @@ void cs_handlejoin(int hooknum, void *arg) {
   if (rup && (rup->status & QUSTAT_DEAD))
     rup=NULL;
   
-  if (rup && (rcup=findreguseronchannel(rcp,rup)) && CUKnown(rcup) && cp->users->totalusers >= 3)
+  if (rup && (rcup=findreguseronchannel(rcp,rup)) && CUHasOpPriv(rcup) && cp->users->totalusers >= 3)
     rcp->lastactive=time(NULL);
 
   /* Update last use time */