changeset 29927:70de81d95bf3

Provide IRC server passwords in a way which allows for an initial :.
author Ethan Blanton <elb@pidgin.im>
date Thu, 04 Mar 2010 17:08:19 +0000
parents fbefcfbb5377
children cead5610c89a
files libpurple/protocols/irc/irc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/irc/irc.c	Thu Mar 04 16:31:10 2010 +0000
+++ b/libpurple/protocols/irc/irc.c	Thu Mar 04 17:08:19 2010 +0000
@@ -369,7 +369,7 @@
 	const char *pass = purple_connection_get_password(gc);
 
 	if (pass && *pass) {
-		buf = irc_format(irc, "vv", "PASS", pass);
+		buf = irc_format(irc, "v:", "PASS", pass);
 		if (irc_send(irc, buf) < 0) {
 			g_free(buf);
 			return FALSE;