diff options
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 2c50fdc..1ba1d0e 100644 --- a/src/crsm.cpp +++ b/src/crsm.cpp @@ -3284,7 +3284,7 @@ CMD_FUNCTION_IMPL(getConfigValue) { respond(client, Config.getConfigValueLine(args)); } - catch(ConfigException) + catch(const ConfigException&) { respond(client, "Es existiert kein Wert mit dem Namen \"" + args + "\"\n"); } @@ -3298,7 +3298,7 @@ CMD_FUNCTION_IMPL(setConfigValue) applyConfig(); respond(client, "Wert wurde erfolgreich übernommen.\n"); } - catch(ConfigException e) + catch(const ConfigException& e) { respond(client, QString("Fehler beim Setzen: ") + e.what() + "\n"); } |
