diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-01-20 16:34:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-01-20 16:34:43 +0300 |
commit | 690579fef58390e1b28a0dc73174ab559cb3b40c (patch) | |
tree | 181e6b145c26ae4a4555178e76fcfb03a07895ed | |
parent | 5dc9a8a99e38a22c3c690d143e32901eeef7b9ab (diff) | |
download | mv-690579fef58390e1b28a0dc73174ab559cb3b40c.tar.gz mv-690579fef58390e1b28a0dc73174ab559cb3b40c.tar.bz2 mv-690579fef58390e1b28a0dc73174ab559cb3b40c.tar.xz mv-690579fef58390e1b28a0dc73174ab559cb3b40c.zip |
Add char '#' as allowed in file names in chat logger.
-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] = '_'; } |