aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_blockamsg.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-05-25 17:23:26 +0100
committerGravatar Sadie Powell2022-05-25 17:23:26 +0100
commitf6c6ce79287b70aa1c44c356a139a0a9961cedf8 (patch)
tree69631eef6f656d6a5e3f34829269835aa5483c0b /src/modules/m_blockamsg.cpp
parentBegin to separate the output from the format in httpd_stats. (diff)
parentFix some compiler warnings on i386. (diff)
Merge branch 'insp3' into master.
Diffstat (limited to 'src/modules/m_blockamsg.cpp')
-rw-r--r--src/modules/m_blockamsg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_blockamsg.cpp b/src/modules/m_blockamsg.cpp
index 698ad6f86..461cd685c 100644
--- a/src/modules/m_blockamsg.cpp
+++ b/src/modules/m_blockamsg.cpp
@@ -113,7 +113,7 @@ public:
if ((m && (m->message == parameters[1]) &&
(!irc::equals(m->target, parameters[0])) &&
ForgetDelay &&
- (m->sent >= ServerInstance->Time()-(long)ForgetDelay)) ||
+ (m->sent >= ServerInstance->Time()-(time_t)ForgetDelay)) ||
((targets > 1) && (targets == user->chans.size())))
{
// Block it...