]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/configreader.h
Cover most of the included oper commands in the default examples of class tags, so...
[user/henk/code/inspircd.git] / include / configreader.h
index 2ccabc5b4793bb03e36d66b8a9428af3df0a00f1..5e97bb09bb18c2aa30b19762ac216a787e46a457 100644 (file)
@@ -349,7 +349,7 @@ class CoreExport ServerConfig : public Extensible
 
        /** Error stream, contains error output from any failed configuration parsing.
         */
-       std::ostringstream errstr;
+       std::ostringstream* errstr;
 
        /** Holds the new configuration when a rehash occurs so we dont overwrite the existing
         * working config with a broken one without checking it first and swapping pointers.
@@ -565,6 +565,11 @@ class CoreExport ServerConfig : public Extensible
         */
        bool writelog;
 
+       /** If this value is true, banned users (+b, not extbans) will not be able to change nick
+        * if banned on any channel, nor to message them.
+        */
+       bool RestrictBannedUsers;
+
        /** If this value is true, halfops have been
         * enabled in the configuration file.
         */