From 6dd221957e1e3be4885f6abd8ee17d4380c0f07b Mon Sep 17 00:00:00 2001 From: Luke Fitzgerald Date: Wed, 16 Jun 2010 20:58:27 +0100 Subject: [PATCH] Add comma to end of list and small cosmetic change --- plugins/Msn/extlib/phpmsnclass/msn.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;