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:
@@ -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> ¶ms) anope_override
|
||||
{
|
||||
time_t ts = Anope::CurTime;
|
||||
time_t ts = 0;
|
||||
try
|
||||
{
|
||||
ts = convertTo<time_t>(params[0]);
|
||||
|
||||
Reference in New Issue
Block a user