# HG changeset patch # User Paul Aurich # Date 1268176422 0 # Node ID 08c29a5c452a3dc6fe38621c381396135047caa8 # Parent 32fe87f58d06fe05a3d880813ca5f6ab78d785b5 jabber: This is more correct[er] diff -r 32fe87f58d06 -r 08c29a5c452a libpurple/protocols/jabber/parser.c --- a/libpurple/protocols/jabber/parser.c Tue Mar 09 23:11:46 2010 +0000 +++ b/libpurple/protocols/jabber/parser.c Tue Mar 09 23:13:42 2010 +0000 @@ -59,7 +59,7 @@ /* TODO: Check this against the spec; I'm not sure if the check * against minor is accurate. */ - if (js->protocol_version.major > 1 || js->protocol_version.minor > 0) + if (js->protocol_version.major > 1 || (js->protocol_version == 1 && js->protocol_version.minor > 0)) purple_connection_error_reason(js->gc, PURPLE_CONNECTION_ERROR_AUTHENTICATION_IMPOSSIBLE, _("XMPP Version Mismatch"));