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:
@@ -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]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user