summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-10 00:13:03 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-10 00:13:03 +0000
commit45192f80e14661332f29d1dd2b2394deff437f46 (patch)
treec2a350c9dfa81658a26d5299ee83cab8b028b497
parentabbc6ca2a66470746d44b9c48ea5c3aa4e8a71ed (diff)
Tidyup of ServerConf::Read about half done (works)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3613 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/inspircd_io.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd_io.cpp b/src/inspircd_io.cpp
index d0a828600..39cb8db62 100644
--- a/src/inspircd_io.cpp
+++ b/src/inspircd_io.cpp
@@ -354,7 +354,7 @@ void ServerConfig::Read(bool bail, userrec* user)
{"options", "allowhalfop", &this->AllowHalfop, DT_BOOLEAN, NoValidation},
{"dns", "server", &this->DNSServer, DT_CHARPTR, ValidateDnsServer},
{"dns", "timeout", &this->dns_timeout, DT_INTEGER, ValidateDnsTimeout},
- {"options", "moduledir", &this->ModPath, DT_CHARPTR, NoValidation},
+ {"options", "moduledir", &this->ModPath, DT_CHARPTR, ValidateModPath},
{"disabled", "commands", &this->DisabledCommands, DT_CHARPTR, NoValidation},
{"options", "operonlystats", &this->OperOnlyStats, DT_CHARPTR, NoValidation},
{"options", "customversion", &this->CustomVersion, DT_CHARPTR, NoValidation},