1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 22:13:12 +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
+2 -2
View File
@@ -303,7 +303,7 @@ struct IRCDMessageMode : IRCDMessage
{
Channel *c = findchan(params[0]);
if (c)
c->SetModesInternal(source, params[1], Anope::CurTime);
c->SetModesInternal(source, params[1]);
}
else
{
@@ -507,7 +507,7 @@ struct IRCDMessageTMode : IRCDMessage
bool Run(MessageSource &source, const std::vector<Anope::string> &params) anope_override
{
time_t ts = Anope::CurTime;
time_t ts = 0;
try
{
ts = convertTo<time_t>(params[0]);