diff libpurple/protocols/irc/irc.c @ 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 c26b7aff4e96
children 8174f6999308
line wrap: on
line diff
--- a/libpurple/protocols/irc/irc.c	Tue Oct 02 15:57:32 2007 +0000
+++ b/libpurple/protocols/irc/irc.c	Tue Oct 02 17:16:16 2007 +0000
@@ -297,7 +297,7 @@
 	gc->flags |= PURPLE_CONNECTION_NO_NEWLINES;
 
 	if (strpbrk(username, " \t\v\r\n") != NULL) {
-		purple_connection_error_reason (gc, PURPLE_REASON_INVALID_USERNAME,
+		purple_connection_error_reason (gc, PURPLE_REASON_INVALID_SETTINGS,
 			_("IRC nicks may not contain whitespace"));
 		return;
 	}