Thu, 04 Mar 2010 17:08:19 +0000
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;