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 --- src/channels.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/channels.cpp b/src/channels.cpp index ac7be382c..501dd7146 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -714,7 +714,9 @@ void Channel::SetModesInternal(MessageSource &source, const Anope::string &mode, ++this->server_modecount; } - if (ts > this->creation_time) + if (!ts) + ; + else if (ts > this->creation_time) return; else if (ts < this->creation_time) { -- cgit