Skip to content
Snippets Groups Projects
Commit 4f5697d0 authored by Armin Luntzer's avatar Armin Luntzer
Browse files

server net: reorder push timeouts

parent 6755675a
No related branches found
No related tags found
No related merge requests found
...@@ -835,9 +835,9 @@ static gboolean net_incoming(GSocketService *service, ...@@ -835,9 +835,9 @@ static gboolean net_incoming(GSocketService *service,
/* push usernames and messages after 1 seconds, so the incoming /* push usernames and messages after 1 seconds, so the incoming
* connections have time to configure theirs * connections have time to configure theirs
*/ */
g_timeout_add_seconds(1, net_push_userlist_cb, NULL);
g_timeout_add_seconds(1, net_push_station_single, c); g_timeout_add_seconds(1, net_push_station_single, c);
g_timeout_add_seconds(1, net_push_motd_single, c); g_timeout_add_seconds(1, net_push_motd_single, c);
g_timeout_add_seconds(1, net_push_userlist_cb, NULL);
str = net_get_host_string(c->con); str = net_get_host_string(c->con);
g_message("Received connection from %s", str); g_message("Received connection from %s", str);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment