Fix new user logins
In main(), login_ok() was being called before ipc_connect() but when a new user is created, the login_ok() call leads to a broadcast() call which attempts to reconnect to the server through ipc_check() and fails because ipc_connect() hasn't set the server location yet. This bug has been lurking for a while but it has only recently turned into a segfault due to the NULL server location. Move the broadcast() calls to come after the ipc_connect() for now.
Loading
Please register or sign in to comment