diff options
| author | Markus Mittendrein <git@maxmitti.tk> | 2015-10-13 23:33:26 +0200 |
|---|---|---|
| committer | Markus Mittendrein <git@maxmitti.tk> | 2015-10-13 23:33:26 +0200 |
| commit | 1158e57f400de8f0e9ec0b8b21bfcf0d5dfc830f (patch) | |
| tree | 925e2f9b22fcbc8c2fde350a972a3f30976add81 /src/crsm.cpp | |
| parent | 9ffa2f549f1531e19ca7687f74ce5a5bef8c183d (diff) | |
| download | manager-1158e57f400de8f0e9ec0b8b21bfcf0d5dfc830f.tar.gz manager-1158e57f400de8f0e9ec0b8b21bfcf0d5dfc830f.zip | |
Correctly read octal escapes from Clonk-config
Diffstat (limited to 'src/crsm.cpp')
| -rw-r--r-- | src/crsm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crsm.cpp b/src/crsm.cpp index fbdeea1..3fe1000 100644 --- a/src/crsm.cpp +++ b/src/crsm.cpp @@ -1642,12 +1642,12 @@ void CRSM::applyConfig() if(!Config.Auto.Volatile.Clonk.ServerNick.isEmpty() && !Config.Auto.Volatile.Clonk.ServerPCName.isEmpty()) break; if(nickExp.exactMatch(line.trimmed())) { - Config.Auto.Volatile.Clonk.ServerNick = nickExp.cap(1); + Config.Auto.Volatile.Clonk.ServerNick = Util::unescapeClonkString(nickExp.cap(1)); continue; } else if(pcNameExp.exactMatch(line.trimmed())) { - Config.Auto.Volatile.Clonk.ServerPCName = pcNameExp.cap(1); + Config.Auto.Volatile.Clonk.ServerPCName = Util::unescapeClonkString(pcNameExp.cap(1)); continue; } } |
