1
0
mirror of https://github.com/anope/anope.git synced 2026-07-06 10:13:14 +02:00

Fix the type of the InspIRCd IJOIN chants when converting.

This commit is contained in:
Sadie Powell
2024-07-20 11:31:40 +01:00
parent bfca74f6b3
commit a1165eea94
+1 -1
View File
@@ -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]);
}