Cleaned up the credentials handling, and made it ready for plugins.

This commit is contained in:
Jan Vidar Krey
2010-07-12 17:00:42 +02:00
parent e4977606a7
commit 56e5557146
16 changed files with 190 additions and 117 deletions

View File

@@ -33,7 +33,7 @@ static void clear_user_list_callback(void* ptr)
* This prevents the hub from trying to send
* quit messages to other users.
*/
u->credentials = cred_none;
u->credentials = auth_cred_none;
user_destroy(u);
}
}