summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-07-20 11:31:40 +0100
committerSadie Powell <sadie@witchery.services>2024-07-20 19:25:58 +0100
commita1165eea94249c293edbdebb39607008f9ae72c1 (patch)
tree30a381cc18a0cbbd0ee367582cb8d4454aef8c71 /modules
parentbfca74f6b34a87dc1aca9753a367acc5415fddf2 (diff)
Fix the type of the InspIRCd IJOIN chants when converting.
Diffstat (limited to 'modules')
-rw-r--r--modules/protocol/inspircd3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/protocol/inspircd3.cpp b/modules/protocol/inspircd3.cpp
index 9e7598c79..45d877d78 100644
--- a/modules/protocol/inspircd3.cpp
+++ b/modules/protocol/inspircd3.cpp
@@ -1686,7 +1686,7 @@ struct IRCDMessageIJoin : IRCDMessage
time_t chants = Anope::CurTime;
if (params.size() >= 4)
{
- chants = params[2].is_pos_number_only() ? convertTo<unsigned>(params[2]) : 0;
+ chants = params[2].is_pos_number_only() ? convertTo<time_t>(params[2]) : 0;
for (unsigned i = 0; i < params[3].length(); ++i)
user.first.AddMode(params[3][i]);
}