From 5d6fb2427e2c396239b854951ad4b8d4e3952657 Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 16 Nov 2012 00:03:15 -0500 Subject: Fixed some stuff spotted by Cronus, made db_old convert ACCESS_INVALID levels to ACCESS_FOUNDER, fix cs_enforce +R from an earlier commit, fixed ChangeModeInternal TS checking when IRCds don't send TS on mode --- include/channels.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/channels.h b/include/channels.h index da65c1a9c..99ddf06b9 100644 --- a/include/channels.h +++ b/include/channels.h @@ -205,7 +205,7 @@ class CoreExport Channel : public virtual Base, public Extensible, public Flags< * @param mode the modes * @param EnforceMLock true to enforce mlock */ - void SetModesInternal(MessageSource &source, const Anope::string &mode, time_t ts = Anope::CurTime, bool EnforceMLock = true); + void SetModesInternal(MessageSource &source, const Anope::string &mode, time_t ts = 0, bool EnforceMLock = true); /** Kick a user from a channel internally * @param source The sender of the kick -- cgit