Server did not answer due to wrong checks.
This commit is contained in:
parent
ee0ea5a427
commit
e53119e92c
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue