summaryrefslogtreecommitdiff
path: root/include/inspircd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/inspircd.h')
-rw-r--r--include/inspircd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 69c8bf47f..cb4f1558f 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -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
*/