pidgin: b84cb254: Provide IRC server passwords in a way wh...

elb at pidgin.im elb at pidgin.im
Thu Mar 4 12:10:26 EST 2010


-----------------------------------------------------------------
Revision: b84cb254e83a2dd3b31443d05163b32875e98fdf
Ancestor: e0e8d94ac49f3a11e118889f779abfce4066da20
Author: elb at pidgin.im
Date: 2010-03-04T17:08:19
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/b84cb254e83a2dd3b31443d05163b32875e98fdf

Modified files:
        libpurple/protocols/irc/irc.c

ChangeLog: 

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

-------------- next part --------------
============================================================
--- libpurple/protocols/irc/irc.c	c578a4f6e069c83f222d0173c396b86aa80f3e17
+++ libpurple/protocols/irc/irc.c	ed26270e58beca4cea8dd4b422634bcae0c71785
@@ -369,7 +369,7 @@ static gboolean do_login(PurpleConnectio
 	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;


More information about the Commits mailing list