summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/connection.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/connection.cpp b/server/connection.cpp
index fc6cadb..3286aa3 100644
--- a/server/connection.cpp
+++ b/server/connection.cpp
@@ -45,6 +45,8 @@ void Connection::error(const std::string& msg) {
error_callback.clear();
f(msg);
+ } else {
+ recv_callback.clear();
}
}