diff --git a/plugins/Msn/extlib/phpmsnclass/msn.class.php b/plugins/Msn/extlib/phpmsnclass/msn.class.php
index 996c5571c2..3d10c25b2c 100644
--- a/plugins/Msn/extlib/phpmsnclass/msn.class.php
+++ b/plugins/Msn/extlib/phpmsnclass/msn.class.php
@@ -2995,8 +2995,37 @@ X-OIM-Sequence-Num: 1
// no ticket found!
if (count($matches) == 0) {
- $this->debug_message('*** Could not get passport ticket!');
- return false;
+ // Since 2011/2/15, the return value will be Compact2, not PPToken2
+
+ // we need ticket and secret code
+ // RST1: messengerclear.live.com
+ // t=tick&p=
+ // binary secret
+ // RST2: messenger.msn.com
+ // t=tick
+ // RST3: contacts.msn.com
+ // t=tick&p=
+ // RST4: messengersecure.live.com
+ // t=tick&p=
+ // RST5: spaces.live.com
+ // t=tick&p=
+ // RST6: storage.msn.com
+ // t=tick&p=
+ preg_match("#".
+ "(.*)(.*)".
+ "(.*)(.*)".
+ "(.*)(.*)".
+ "(.*)(.*)".
+ "(.*)(.*)".
+ "(.*)(.*)".
+ "(.*)(.*)".
+ "#",
+ $data, $matches);
+ // no ticket found!
+ if (count($matches) == 0) {
+ $this->debug_message("*** Can't get passport ticket!");
+ return false;
+ }
}
//$this->debug_message(var_export($matches, true));