diff libpurple/connection.h @ 20128:57e9d1ecefff

Rename PURPLE_REASON_INVALID_USERNAME to PURPLE_REASON_INVALID_SETTINGS, so it can be used when a server parameter is required but not supplied (for example).
author Will Thompson <will.thompson@collabora.co.uk>
date Tue, 02 Oct 2007 17:16:16 +0000
parents a68d51d60177
children 682543aced31
line wrap: on
line diff
--- a/libpurple/connection.h	Tue Oct 02 15:57:32 2007 +0000
+++ b/libpurple/connection.h	Tue Oct 02 17:16:16 2007 +0000
@@ -79,12 +79,16 @@
 	 */
 	PURPLE_REASON_NAME_IN_USE,
 
-	/** The username for the account isn't valid.
+	/** The username/server/other preference for the account isn't valid.
+	 *  For instance, on IRC the screen name cannot contain white space.
+	 *  This reason should not be used for incorrect passwords etc: use
+	 *  #PURPLE_REASON_AUTHENTICATION_FAILED for that.
+	 *
 	 *  @todo This reason really shouldn't be necessary.  Usernames and
 	 *        other account preferences should be validated when the
 	 *        account is created.
 	 */
-	PURPLE_REASON_INVALID_USERNAME,
+	PURPLE_REASON_INVALID_SETTINGS,
 
 	/** The server did not provide a SSL certificate. */
 	PURPLE_REASON_CERT_NOT_PROVIDED,