]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Add comma to end of list and small cosmetic change
authorLuke Fitzgerald <lw.fitzgerald@googlemail.com>
Wed, 16 Jun 2010 19:58:27 +0000 (20:58 +0100)
committerLuke Fitzgerald <lw.fitzgerald@googlemail.com>
Wed, 16 Jun 2010 19:58:27 +0000 (20:58 +0100)
plugins/Msn/extlib/phpmsnclass/msn.class.php

index 05edf86d8b3553dbe29b8436f1e328c8d8cb6d56..0435905df43e3114e39892abb7c5e25710b177c4 100644 (file)
@@ -894,7 +894,7 @@ class MSN {
                 // someone is trying to talk to us\r
                 // NS: <<< RNG {session_id} {server} {auth_type} {ticket} {email} {alias} U {client} 0\r
                 $this->debug_message("NS: <<< RNG $data");\r
-                @list(/* RNG */, $sid, $server, /* auth_type */, $ticket, $email, $name, ) = @explode(' ', $data);\r
+                @list(/* RNG */, $sid, $server, /* auth_type */, $ticket, $email, $name,) = @explode(' ', $data);\r
                 @list($sb_ip, $sb_port) = @explode(':', $server);\r
                 $this->debug_message("*** RING from $email, $sb_ip:$sb_port");\r
                 $this->addContact($email, 1, $email, true);\r
@@ -904,7 +904,7 @@ class MSN {
             case 'NLN':\r
                 // NS: <<< NLN {status} {email} {networkid} {nickname} {clientid} {dpobj}\r
                 // NS: <<< NLN NLN darkip@inflatablegoldfish.com 1 Luke 2685403136 0\r
-                @list(/* NLN */, $email, $network, $nickname, /* clientid */, /* dbobj */) = @explode(' ', $data);\r
+                @list(/* NLN */, $email, $network, $nickname, /* clientid */, /* dbobj */,) = @explode(' ', $data);\r
                 $this->callHandler('StatusChange', array('screenname' => $email, 'network' => $network, 'nickname' => $nickname));\r
                 break;\r
             \r