From: Luke Fitzgerald Date: Wed, 16 Jun 2010 19:58:27 +0000 (+0100) Subject: Add comma to end of list and small cosmetic change X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6dd221957e1e3be4885f6abd8ee17d4380c0f07b;p=quix0rs-gnu-social.git Add comma to end of list and small cosmetic change --- diff --git a/plugins/Msn/extlib/phpmsnclass/msn.class.php b/plugins/Msn/extlib/phpmsnclass/msn.class.php index 05edf86d8b..0435905df4 100644 --- a/plugins/Msn/extlib/phpmsnclass/msn.class.php +++ b/plugins/Msn/extlib/phpmsnclass/msn.class.php @@ -894,7 +894,7 @@ class MSN { // someone is trying to talk to us // NS: <<< RNG {session_id} {server} {auth_type} {ticket} {email} {alias} U {client} 0 $this->debug_message("NS: <<< RNG $data"); - @list(/* RNG */, $sid, $server, /* auth_type */, $ticket, $email, $name, ) = @explode(' ', $data); + @list(/* RNG */, $sid, $server, /* auth_type */, $ticket, $email, $name,) = @explode(' ', $data); @list($sb_ip, $sb_port) = @explode(':', $server); $this->debug_message("*** RING from $email, $sb_ip:$sb_port"); $this->addContact($email, 1, $email, true); @@ -904,7 +904,7 @@ class MSN { case 'NLN': // NS: <<< NLN {status} {email} {networkid} {nickname} {clientid} {dpobj} // NS: <<< NLN NLN darkip@inflatablegoldfish.com 1 Luke 2685403136 0 - @list(/* NLN */, $email, $network, $nickname, /* clientid */, /* dbobj */) = @explode(' ', $data); + @list(/* NLN */, $email, $network, $nickname, /* clientid */, /* dbobj */,) = @explode(' ', $data); $this->callHandler('StatusChange', array('screenname' => $email, 'network' => $network, 'nickname' => $nickname)); break;