summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-12-08 16:32:50 +0100
committerAttila Molnar <attilamolnar@hush.com>2015-12-08 16:32:50 +0100
commit5b5590f09599c3fca1fd2c2ed9a6908cdd201597 (patch)
treebb80df76e84795c77f71eb433774f5af49787a0d /include
parent306ef5e3ead14db376657419f3b851ac79be083b (diff)
Strip all control codes except \001 in InspIRCd::StripColor()
Fixes issue #1100 reported by @uecasm
Diffstat (limited to 'include')
-rw-r--r--include/inspircd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index d41d2919b..91b70fbd8 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -546,7 +546,7 @@ class CoreExport InspIRCd
*/
static bool IsValidMask(const std::string& mask);
- /** Strips all color codes from the given string
+ /** Strips all color and control codes except 001 from the given string
* @param sentence The string to strip from
*/
static void StripColor(std::string &sentence);