diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-10-12 18:12:48 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-10-12 18:12:48 +0000 |
commit | 579e707f017ca237d260165992f0b72bafba152c (patch) | |
tree | 3e3b6d77b90b505def180fec1dc3c040a00a4871 /src/configreader.cpp | |
parent | 480a798dbdafca245403ad357f5dba2aa4f73261 (diff) |
m_exemptchanops by jackmcbarn - channel mode +X to allow per-channel setting
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11855 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r-- | src/configreader.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp index ac0dc2596..7248ff099 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -382,14 +382,6 @@ static bool ValidateModeLists(ServerConfig* conf, const char*, const char*, Valu return true; } -static bool ValidateExemptChanOps(ServerConfig* conf, const char*, const char*, ValueItem &data) -{ - memset(conf->ExemptChanOps, 0, sizeof(conf->ExemptChanOps)); - for (const unsigned char* x = (const unsigned char*)data.GetString(); *x; ++x) - conf->ExemptChanOps[*x] = true; - return true; -} - static bool ValidateInvite(ServerConfig* conf, const char*, const char*, ValueItem &data) { const std::string& v = data.GetValue(); @@ -801,7 +793,6 @@ static const InitialConfig Values[] = { {"security", "announceinvites", "1", NULL, DT_NOTHING, ValidateInvite}, {"options", "hostintopic", "1", new ValueContainerBool (&ServerConfig::FullHostInTopic), DT_BOOLEAN, NULL}, {"security", "hidemodes", "", NULL, DT_NOTHING, ValidateModeLists}, - {"options", "exemptchanops","", NULL, DT_NOTHING, ValidateExemptChanOps}, {"security", "maxtargets", "20", new ValueContainerUInt (&ServerConfig::MaxTargets), DT_INTEGER, ValidateMaxTargets}, {"options", "defaultmodes", "nt", new ValueContainerString (&ServerConfig::DefaultModes), DT_CHARPTR, NULL}, {"pid", "file", "", new ValueContainerString (&ServerConfig::PID), DT_CHARPTR, NULL}, |