summaryrefslogtreecommitdiff
path: root/src/server.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/server.cc')
-rw-r--r--src/server.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server.cc b/src/server.cc
index fc06a1d..34aac7b 100644
--- a/src/server.cc
+++ b/src/server.cc
@@ -100,7 +100,7 @@ void newConnection(Socket *socket, Info *info)
}
}
- if(h.header.h_data.savestate) {
+ if(h.header.h_data.savestate != NO_CHANGE) {
savestate = h.header.h_data.savestate;
info->info("GOT SAVESTATE FROM NETWORK: %d", savestate );
}