Updating qchat.c