summaryrefslogtreecommitdiff
path: root/modules/protocol/ratbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/protocol/ratbox.cpp')
-rw-r--r--modules/protocol/ratbox.cpp4
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> &params) anope_override
{
- time_t ts = Anope::CurTime;
+ time_t ts = 0;
try
{
ts = convertTo<time_t>(params[0]);