summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backlog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backlog.cpp b/backlog.cpp
index 2c6426f..39ea131 100644
--- a/backlog.cpp
+++ b/backlog.cpp
@@ -102,7 +102,7 @@ void CBacklogMod::OnModCommand(const CString& sCommand) {
CString Path = GetNV("LogPath").substr(); // make copy
Path.Replace("$NETWORK", Network);
- Path.Replace("$WINDOW", Channel.AsLower());
+ Path.Replace("$WINDOW", CString(Channel.Replace_n("/", "-").Replace_n("\\", "-")).AsLower());
Path.Replace("$USER", User);
CString DirPath = Path.substr(0, Path.find_last_of("/"));