summaryrefslogtreecommitdiff
path: root/modules/protocol/plexus.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-11-16 00:03:15 -0500
committerAdam <Adam@anope.org>2012-11-16 00:03:15 -0500
commit5d6fb2427e2c396239b854951ad4b8d4e3952657 (patch)
tree7ba24105fae1615fb972ccf7d02e34b27327a51c /modules/protocol/plexus.cpp
parentad3d1d381a29598338c4687ca1a7a334a9fc71d5 (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/plexus.cpp')
-rw-r--r--modules/protocol/plexus.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/protocol/plexus.cpp b/modules/protocol/plexus.cpp
index 948a715ac..432cc3c02 100644
--- a/modules/protocol/plexus.cpp
+++ b/modules/protocol/plexus.cpp
@@ -358,7 +358,7 @@ struct IRCDMessageMode : IRCDMessage
{
// 0 = channel, 1 = ts, 2 = modes
Channel *c = findchan(params[0]);
- time_t ts = Anope::CurTime;
+ time_t ts = 0;
try
{
ts = convertTo<time_t>(params[1]);
@@ -567,7 +567,7 @@ struct IRCDMessageTMode : IRCDMessage
bool Run(MessageSource &source, const std::vector<Anope::string> &params) anope_override
{
- time_t ts = Anope::CurTime;
+ time_t ts = 0;
try
{
ts = convertTo<time_t>(params[0]);