summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 01543d8be..092f81a93 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -1289,8 +1289,6 @@ int Client::exec()
case STATE_ERROR:
logger->log1("State: ERROR");
logger->log("Error: %s\n", errorMessage.c_str());
- if (chatWindow)
- chatWindow->saveState();
mCurrentDialog = new OkDialog(_("Error"), errorMessage);
mCurrentDialog->addActionListener(&errorListener);
mCurrentDialog = NULL; // OkDialog deletes itself