diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/chatlogger.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/chatlogger.cpp b/src/chatlogger.cpp index 40fc5aa57..ad86de8e9 100644 --- a/src/chatlogger.cpp +++ b/src/chatlogger.cpp @@ -147,7 +147,8 @@ std::string ChatLogger::secureName(std::string &name) const && (name[f] < 'A' || name[f] > 'Z') && name[f] != '-' && name[f] != '+' && name[f] != '=' && name[f] != '.' && name[f] != ',' && name[f] != ')' - && name[f] != '(' && name[f] != '[' && name[f] != ']') + && name[f] != '(' && name[f] != '[' && name[f] != ']' + && name[f] != '#') { name[f] = '_'; } |