Server did not answer due to wrong checks.

This commit is contained in:
Jan Vidar Krey 2009-07-01 09:50:46 +02:00
parent ee0ea5a427
commit e53119e92c

View File

@ -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)
{