summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-03 19:54:56 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-03 19:54:56 +0000
commit59d126a3a731b3f1efebdac5073cb50f787fdeec (patch)
tree53848c68b70c8bffcc6b776c0000d0814fdf7aa6 /src
parentf8e16764b7c381042f7e9ab7406f612c447ab63b (diff)
Make nt the default channelmode if <options:defaultmodes> is not present.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7228 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/configreader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 11fd7f8c7..729c1b163 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", "", new ValueContainerChar (this->DefaultModes), DT_CHARPTR, NoValidation},
+ {"options", "defaultmodes", "nt", 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},