diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/channels.h | 4 | ||||
-rw-r--r-- | include/configreader.h | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/include/channels.h b/include/channels.h index 950275974..20454e0b9 100644 --- a/include/channels.h +++ b/include/channels.h @@ -122,6 +122,10 @@ class CoreExport chanrec : public Extensible */ static chanrec* ForceChan(InspIRCd* Instance, chanrec* Ptr, userrec* user, const std::string &privs); + /** Set default modes for the channel on creation + */ + void SetDefaultModes(); + prefixlist prefixes; /** Maximum number of bans (cached) diff --git a/include/configreader.h b/include/configreader.h index 70b1bc800..e596e409d 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -494,6 +494,10 @@ class CoreExport ServerConfig : public Extensible */ std::string logpath; + /** Default channel modes + */ + char DefaultModes[MAXBUF]; + /** Custom version string, which if defined can replace the system info in VERSION. */ char CustomVersion[MAXBUF]; @@ -504,7 +508,7 @@ class CoreExport ServerConfig : public Extensible /** Max banlist sizes for channels (the std::string is a glob) */ - std::map<std::string,int> maxbans; + std::map<std::string, int> maxbans; /** Directory where the inspircd binary resides */ |