- g_print ("Auth: %d\n", result);
- free_user_info ((UserInfo *) ud);
-
- if (result == TRUE) {
- LmMessage *m;
-
- m = lm_message_new_with_sub_type (NULL,
- LM_MESSAGE_TYPE_PRESENCE,
- LM_MESSAGE_SUB_TYPE_AVAILABLE);
- string = lm_message_node_to_string (m->node);
- g_print (":: %s\n", string);
- free (string);
-
- lm_connection_send (connection, m, NULL);
- lm_message_unref (m);
+ if (! result) {
+ g_print ("Authentication for %s failed\n", info->name);
+ loudgame_quit (info, 1);
+ return;