Provide IRC server passwords in a way which allows for an initial :.

Thu, 04 Mar 2010 17:08:19 +0000

author
Ethan Blanton <elb@pidgin.im>
date
Thu, 04 Mar 2010 17:08:19 +0000
changeset 29812
8c34380ada83
parent 29811
71d3ea23bbc9
child 29813
4918a5928b93

Provide IRC server passwords in a way which allows for an initial :.

libpurple/protocols/irc/irc.c file | annotate | diff | comparison | revisions
--- 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;

mercurial