diff options
author | Attila Molnar <attilamolnar@hush.com> | 2015-12-08 16:32:50 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2015-12-08 16:32:50 +0100 |
commit | 5b5590f09599c3fca1fd2c2ed9a6908cdd201597 (patch) | |
tree | bb80df76e84795c77f71eb433774f5af49787a0d /include | |
parent | 306ef5e3ead14db376657419f3b851ac79be083b (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.h | 2 |
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); |