summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/net_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net_server.c b/src/net_server.c
index ef0ab7b5..1b8e934d 100644
--- a/src/net_server.c
+++ b/src/net_server.c
@@ -412,7 +412,7 @@ static void NET_SV_SendWaitingData(net_client_t *client)
// If no controller found (?), send the details that the client
// is expecting anyway.
- if (controller != NULL)
+ if (controller == NULL)
{
controller = client;
}