Update chatserver.c