diff libpurple/protocols/irc/irc.c @ 29527: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 2cb6ea4420a0
children 2a436e0ce977
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;