1
0
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:
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
@@ -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> &params) anope_override
{
time_t ts = Anope::CurTime;
time_t ts = 0;
try
{
ts = convertTo<time_t>(params[0]);