From e53119e92c1522a0bb1ca03e7d635079fd16ca9b Mon Sep 17 00:00:00 2001 From: Jan Vidar Krey Date: Wed, 1 Jul 2009 09:50:46 +0200 Subject: [PATCH] Server did not answer due to wrong checks. --- src/netevent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/netevent.c b/src/netevent.c index 283bf5b..5831fad 100644 --- a/src/netevent.c +++ b/src/netevent.c @@ -174,7 +174,7 @@ int handle_net_read(struct user* user) } else { - if (g_hub->config->max_recv_buffer < (pos - start)) + if (g_hub->config->max_recv_buffer > (pos - start)) { if (hub_handle_message(g_hub, user, start, (pos - start)) == -1) {