diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-27 12:08:51 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-27 12:08:51 +0000 |
commit | 8ffa149aa186d81b8c5017bb3f7e82d483da8898 (patch) | |
tree | d070f2d9b29136dd332f75bd3ecb2098604cca24 /src | |
parent | 5b6462f4f60f743ab63480d76d40a40c6b0453d1 (diff) |
Add config example, and allow options:defaultmodes="" so that people can have no default modes if they want.
Default in the example config is 'nt'.
SIDENOTE: Someone really needs to tidy up <options> in 1.2
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7166 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/configreader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp index 6e9b75c43..e05a78874 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -630,7 +630,7 @@ void ServerConfig::Read(bool bail, userrec* user) {"options", "hostintopic", "1", new ValueContainerBool (&this->FullHostInTopic), DT_BOOLEAN, NoValidation}, {"options", "hidemodes", "", new ValueContainerChar (hidemodes), DT_CHARPTR, ValidateModeLists}, {"options", "exemptchanops","", new ValueContainerChar (exemptchanops), DT_CHARPTR, ValidateExemptChanOps}, - {"options", "defaultmodes", "nt", new ValueContainerChar (this->DefaultModes), DT_CHARPTR, NoValidation}, + {"options", "defaultmodes", "", new ValueContainerChar (this->DefaultModes), DT_CHARPTR, NoValidation}, {"pid", "file", "", new ValueContainerChar (this->PID), DT_CHARPTR, NoValidation}, {"whowas", "groupsize", "10", new ValueContainerInt (&this->WhoWasGroupSize), DT_INTEGER, NoValidation}, {"whowas", "maxgroups", "10240", new ValueContainerInt (&this->WhoWasMaxGroups), DT_INTEGER, NoValidation}, |