Add comma to end of list and small cosmetic change
This commit is contained in:
parent
d69aa725f7
commit
6dd221957e
|
@ -894,7 +894,7 @@ class MSN {
|
||||||
// someone is trying to talk to us
|
// someone is trying to talk to us
|
||||||
// NS: <<< RNG {session_id} {server} {auth_type} {ticket} {email} {alias} U {client} 0
|
// NS: <<< RNG {session_id} {server} {auth_type} {ticket} {email} {alias} U {client} 0
|
||||||
$this->debug_message("NS: <<< RNG $data");
|
$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);
|
@list($sb_ip, $sb_port) = @explode(':', $server);
|
||||||
$this->debug_message("*** RING from $email, $sb_ip:$sb_port");
|
$this->debug_message("*** RING from $email, $sb_ip:$sb_port");
|
||||||
$this->addContact($email, 1, $email, true);
|
$this->addContact($email, 1, $email, true);
|
||||||
|
@ -904,7 +904,7 @@ class MSN {
|
||||||
case 'NLN':
|
case 'NLN':
|
||||||
// NS: <<< NLN {status} {email} {networkid} {nickname} {clientid} {dpobj}
|
// NS: <<< NLN {status} {email} {networkid} {nickname} {clientid} {dpobj}
|
||||||
// NS: <<< NLN NLN darkip@inflatablegoldfish.com 1 Luke 2685403136 0
|
// 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));
|
$this->callHandler('StatusChange', array('screenname' => $email, 'network' => $network, 'nickname' => $nickname));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user