1
0
mirror of https://github.com/anope/anope.git synced 2026-06-24 20:06:40 +02:00
This commit is contained in:
lethality
2010-09-18 03:36:44 +01:00
parent 5ec605e424
commit 06faf6affc
+1 -1
View File
@@ -508,7 +508,7 @@ bool ValidateEmailReg(ServerConfig *config, const Anope::string &tag, const Anop
{
if (value.equals_ci("preregexpire"))
{
if (!data.GetInteger())
if (!data.GetInteger() && !dotime(data.GetValue()))
throw ConfigException("The value for <" + tag + ":" + value + "> must be non-zero when e-mail registration are enabled!");
}
else