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 /modules/protocol/ratbox.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 'modules/protocol/ratbox.cpp')
-rw-r--r-- | modules/protocol/ratbox.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/protocol/ratbox.cpp b/modules/protocol/ratbox.cpp index 317ced1ff..3ae4b6e17 100644 --- a/modules/protocol/ratbox.cpp +++ b/modules/protocol/ratbox.cpp @@ -303,7 +303,7 @@ struct IRCDMessageMode : IRCDMessage { Channel *c = findchan(params[0]); if (c) - c->SetModesInternal(source, params[1], Anope::CurTime); + c->SetModesInternal(source, params[1]); } else { @@ -507,7 +507,7 @@ struct IRCDMessageTMode : IRCDMessage bool Run(MessageSource &source, const std::vector<Anope::string> ¶ms) anope_override { - time_t ts = Anope::CurTime; + time_t ts = 0; try { ts = convertTo<time_t>(params[0]); |