# HG changeset patch # User Ethan Blanton # Date 1267722499 0 # Node ID 70de81d95bf32723e85ac3a432e15e7328b70e88 # Parent fbefcfbb53778d500931bec5e23691fbc8b163b2 Provide IRC server passwords in a way which allows for an initial :. diff -r fbefcfbb5377 -r 70de81d95bf3 libpurple/protocols/irc/irc.c --- 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;