summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2018-11-18 13:12:07 +0000
committerPeter Powell <petpow@saberuk.com>2018-11-18 13:12:07 +0000
commit1ec87c328f6ef2d9d64a2eb782cdd2916dd93d2d (patch)
tree72c6ab29c210438ba2fd477954c025c692a1362f
parent37977710a79472741c043b2dc8c17f520429c9f4 (diff)
Fix single backslashes in the MOTD erroneously being removed.
-rw-r--r--src/helperfuncs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index 6830612c7..9a6701b54 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -159,7 +159,7 @@ void InspIRCd::ProcessColors(file_cache& input)
special_chars("\\s", "\x1E"), // Strikethrough
special_chars("\\u", "\x1F"), // Underline
special_chars("\\x", "\x0F"), // Reset
- special_chars("\\", "")
+ special_chars("", "")
};
for(file_cache::iterator it = input.begin(), it_end = input.end(); it != it_end; it++)