summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/regchannel.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp
index 7ab251fc9..1528a6ce5 100644
--- a/src/regchannel.cpp
+++ b/src/regchannel.cpp
@@ -226,13 +226,17 @@ bool ChannelInfo::HasPriv(User *u, ChannelAccess priv)
case CA_AUTOVOICE:
break;
default:
+ this->last_used = Anope::CurTime;
return true;
}
}
if (group.HasPriv(CA_FOUNDER) || group.HasPriv(priv))
+ {
+ this->last_used = Anope::CurTime;
return true;
+ }
return false;
}