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/hybrid.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/hybrid.cpp')
| -rw-r--r-- | modules/protocol/hybrid.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/protocol/hybrid.cpp b/modules/protocol/hybrid.cpp index 52f58f254..d3d67d84e 100644 --- a/modules/protocol/hybrid.cpp +++ b/modules/protocol/hybrid.cpp @@ -316,7 +316,7 @@ struct IRCDMessageMode : IRCDMessage if (params.size() > 2 && ircdproto->IsChannelValid(params[0])) { Channel *c = findchan(params[0]); - time_t ts = Anope::CurTime; + time_t ts = 0; try { @@ -546,7 +546,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 { |
