# HG changeset patch # User Elliott Sales de Andrade # Date 1260393008 0 # Node ID ccb05979ab8aeb3fe54b5c8ddff23855c134021d # Parent 4cdea258b1435129f9493a85315a4d15c206309e Don't attempt to parse extended caps if not using MSNP16. diff -r 4cdea258b143 -r ccb05979ab8a libpurple/protocols/msn/notification.c --- a/libpurple/protocols/msn/notification.c Wed Dec 09 21:09:14 2009 +0000 +++ b/libpurple/protocols/msn/notification.c Wed Dec 09 21:10:08 2009 +0000 @@ -1324,7 +1324,7 @@ } clientid = strtoul(cmd->params[4], &extcap_str, 10); - if (extcap_str && *extcap_str) + if (session->protocol_ver >= 16 && extcap_str && *extcap_str) extcaps = strtoul(extcap_str+1, NULL, 10); else extcaps = 0;