diff options
author | Luke Fitzgerald <lw.fitzgerald@googlemail.com> | 2010-06-30 09:18:44 -0700 |
---|---|---|
committer | Luke Fitzgerald <lw.fitzgerald@googlemail.com> | 2010-06-30 09:18:44 -0700 |
commit | 9a7c60a3e2160297c7fceaa5f535ce9e7085f61e (patch) | |
tree | 95972b1a382c66aa3ef8278e4a9a9705949d1e9b /plugins/Msn/extlib | |
parent | 4c3b42096939306e4901dd320ac76a1c1d901e48 (diff) |
Added wait on signon failure due to update contacts failing
Diffstat (limited to 'plugins/Msn/extlib')
-rw-r--r-- | plugins/Msn/extlib/phpmsnclass/msn.class.php | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/plugins/Msn/extlib/phpmsnclass/msn.class.php b/plugins/Msn/extlib/phpmsnclass/msn.class.php index 6d7b95b72..350d7fca9 100644 --- a/plugins/Msn/extlib/phpmsnclass/msn.class.php +++ b/plugins/Msn/extlib/phpmsnclass/msn.class.php @@ -271,7 +271,7 @@ class MSN { // NS: >>> OUT
$this->ns_writeln("OUT");
@fclose($this->NSfp);
- $this->error = 'Passport authenticated fail!';
+ $this->error = 'Passport authentication failed!';
return false;
}
@@ -358,7 +358,10 @@ class MSN { }
// Update contacts
- if ($this->UpdateContacts() === false) continue;
+ if ($this->UpdateContacts() === false) {
+ $this->signonFailure('');
+ continue;
+ }
// Get membership lists
if (($this->aContactList = $this->getMembershipList()) === false) {
@@ -480,7 +483,9 @@ class MSN { * @return void
*/
private function signonFailure($message) {
- $this->debug_message($message);
+ if(!empty($message)) {
+ $this->debug_message($message);
+ }
$this->callHandler('ConnectFailed');
$this->NSRetryWait($this->retry_wait);
}
|