diff options
author | Adam <Adam@anope.org> | 2012-11-16 00:03:15 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-11-16 00:03:15 -0500 |
commit | 5d6fb2427e2c396239b854951ad4b8d4e3952657 (patch) | |
tree | 7ba24105fae1615fb972ccf7d02e34b27327a51c /src/channels.cpp | |
parent | ad3d1d381a29598338c4687ca1a7a334a9fc71d5 (diff) |
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
Diffstat (limited to 'src/channels.cpp')
-rw-r--r-- | src/channels.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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) { |