mirror of
https://github.com/anope/anope.git
synced 2026-06-28 08:36:37 +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:
@@ -358,7 +358,7 @@ struct IRCDMessageMode : IRCDMessage
|
||||
{
|
||||
// 0 = channel, 1 = ts, 2 = modes
|
||||
Channel *c = findchan(params[0]);
|
||||
time_t ts = Anope::CurTime;
|
||||
time_t ts = 0;
|
||||
try
|
||||
{
|
||||
ts = convertTo<time_t>(params[1]);
|
||||
@@ -567,7 +567,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