]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/inspircd.h
Fix for #268.
[user/henk/code/inspircd.git] / include / inspircd.h
index 69c8bf47f63497015c0c41eb868ee7a9cc0b9c3b..cb4f1558fe051b5a68f79729e07f719b5e777fe4 100644 (file)
@@ -705,6 +705,11 @@ class CoreExport InspIRCd
         * @return True i the mask is valid
         */
        bool IsValidMask(const std::string &mask);
+       
+       /** Strips all color codes from the given string
+        * @para sentence The string to strip from
+        */
+       static void StripColor(std::string &sentence);
 
        /** Rehash the local server
         */