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

Fixed some stuff spotted by Cronus, made db_old convert ACCESS_INVALID levels to ACCESS_FOUNDER, fix cs_enforce +R from an earlier commit, fixed ChangeModeInternal TS checking when IRCds don't send TS on mode

This commit is contained in:
Adam
2012-11-16 00:03:15 -05:00
parent ad3d1d381a
commit 5d6fb2427e
12 changed files with 22 additions and 17 deletions
+3 -3
View File
@@ -255,7 +255,7 @@ struct IRCDMessageChaninfo : IRCDMessage
c->ChangeTopicInternal(source.GetName(), params[4], Anope::CurTime);
}
c->SetModesInternal(source, modes, c->creation_time, true);
c->SetModesInternal(source, modes);
return true;
}
};
@@ -302,7 +302,7 @@ struct IRCDMessageJoin : IRCDMessage
chan->JoinUser(user);
if (!modes.empty())
chan->SetModesInternal(source, modes, chan->creation_time);
chan->SetModesInternal(source, modes);
/* Set the proper modes on the user */
chan_set_correct_modes(user, chan, 1, true);
@@ -353,7 +353,7 @@ struct IRCDMessageMode : IRCDMessage
Channel *c = findchan(params[0]);
if (c)
c->SetModesInternal(source, modes, c->creation_time);
c->SetModesInternal(source, modes);
}
else
{