1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 17:46:37 +02:00

Fix various commands to properly report a given expiry time is invalid

This commit is contained in:
Adam
2013-09-21 11:21:38 -04:00
parent 45702992ac
commit df3c0b7b52
7 changed files with 47 additions and 6 deletions
+4 -1
View File
@@ -294,7 +294,10 @@ time_t Anope::DoTime(const Anope::string &s)
}
}
}
catch (const ConvertException &) { }
catch (const ConvertException &)
{
amount = -1;
}
return amount;
}